Here is one of my class files
How to Build and Install
This project uses CMake to orchestrate the build and installallation process. To build and install on your host system, follow these easy steps:
git clone https://github.com/DavidLeeds/hashmap.git
- download the sourcemkdir build-hashmap && cd build-hashmap
- create a build directory outside the source treecmake ../hashmap
- run CMake to setup the buildmake
- compile the codemake test
- run the unit tests (if enabled)sudo make install
- OPTIONAL install the library on this system
CMake Options
HASHMAP_BUILD_TESTS
- Set toON
to generate unit tests.HASHMAP_BUILD_EXAMPLES
- Set toON
to build example code.
Put Performence
Type | Runtime |
---|---|
No_Flush | 77220ms |
Flush_10 | 150176ms |
Flush_500 | 351451ms |
Flush_1000 | 561014ms |