strhash 0.6.0 review

Download
by rbytes.net on

strhash is a hash table library. A strhash is an associative array, mapping keys to values

License: GPL (GNU General Public License)
File size: 0K
Developer: Uwe Ohse
0 stars award from rbytes.net

strhash is a hash table library.

A strhash is an associative array, mapping keys to values. Keys and values may be strings of up to 2 gigabytes (2^31) bytes of length, containing any possibly character. Keys need not be unique.

All hashing libraries i used before had some kind of more or less annoying limitations.

Here are some key features of "strhash":
key sizes are often limited to a few or a few hundred bytes. While this is often enough is sometimes bites.
key values are sometimes limited to a restricted character set.
data sizes are also often limited.
data values are sometimes limited to a restricted character set.
the number of keys is often limited. Sometimes the libraries haven't even been tested against a large number of keys, which is a recipe for disaster.
keys may need to be unique.
the implementations sometimes only have a high-level interface which make it hard to put wrappers around it. Strhash on the other hand only has a low-level interface and is explicitly meant to be used to but higher layers on top of it.

What's New in This Release:
Added the strhash_load and strhash_save functions to save a hash to a file and reload it again.

strhash 0.6.0 search tags