A simple resizable hash table in C, powered by the xxHash hash function.
- CMake (>= 3.14)
- pkg-config
- libxxhash development library
On Debian/Ubuntu:
sudo apt-get install cmake pkg-config libxxhash-devcmake -B build
cmake --build buildThe library (libmap.a) and test binaries are placed in the build/ directory.
To use a simple built-in hash function instead of xxHash:
cmake -B build -DUSE_SIMPLE_HASH=ON
cmake --build buildRun functional tests:
./build/test_functionalRun performance benchmarks:
./build/test_perf