# for macOS
g++ -std=c++2a main.cpp -DALIGNED_MEM -DCACHELINESIZE=`sysctl -a | grep "hw.cachelinesize" | awk '{ print $2 }'`
# for Linux
g++ -std=c++2a main.cpp -DALIGNED_MEM -DCACHELINESIZE=`getconf LEVEL1_DCACHE_LINESIZE`
This is still a work in progress:
insert
(key and record)search
rangeSearch
clear
(destructor)- inorder keys
remove
ASC
andDESC
options for therangeSearch
- inorder iterator
- inorder records (
ASC
andDESC
) search
optimization