aboutsummaryrefslogtreecommitdiff
path: root/hash.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-14Implementing HASH node `remove_key` functionKatharina Fey1-0/+12
2019-07-13Adding initial support for HASH nodesKatharina Fey1-0/+73
This PR adds initial support for HASH data nodes in libbowl. This allows a performant key-value store lookup in a node tree. The hashing code implements the "murmur" hash, which has shown good performance over at [`libcuckoo`]. Currently there is no extended hashing strategy, which should definitely be changed. [`libcuckoo`]: https://github.com/qaul/libcuckoo (currently a collision will cause a recursive re-alloc) Some of the type-level hacks also begs the question if a PAIR data node might be warranted, even though it would break the simple design around bowl->data.