A tiny KV storage based on skiplist written in C++ language
InsertElement
DeleteElement
SearchElement
DisplayList
DumpFile
LoadFile
size
测试环境:
- Intel i7-7700HQ
- 16 G main memory
skiplist tree high: 18 insert random key
insert element num (w) | timecost (s) |
---|---|
10 | 1.38421 |
50 | 7.13557 |
100 | 15.3014 |
qps: 7.007w
search element (w) | timecost (s) | skiplist size (w) |
---|---|---|
10 | 1.98734 | 10 |
50 | 10.3111 | 50 |
100 | 20.5816 | 100 |
qps: 4.84914w
Just include skip_list.hpp in your code