Skip to content

DEIS-Tools/ptrie

 
 

Repository files navigation

ptrie

A memory efficient hashfree hashmap implementation packaged as a header-only library.

Use CMake to install to $PWD/local (headers and CMake configuration):

cmake --workflow --preset quick-release
cmake --install build-quick --config Release --prefix=$PWD/local

Testing and Benchmarking

Dependencies

Ubuntu (assuming 24.04 LTS):

sudo apt install cmake ninja-build g++
sudo apt install libsparsehash-dev

macOS (install XCode from AppStore, and Homebrew):

brew install cmake ninja 
brew install google-sparsehash

Configure, Build, Test and Benchmark

Test and benchmark release:

cmake --workflow --preset release

Test Debug with Sanitizers:

cmake --workflow --preset debug-san

Inspect other presets:

cmake --workflow --list-presets
cmake --list-presets=configure
cmake --list-presets=build
cmake --list-presets=test

About

A memory efficient hashfree hashmap implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.1%
  • CMake 7.6%
  • Python 3.6%
  • C 0.7%