Skip to content

XOR-op/B-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B-Tree

A single-file high performance B+ Tree, with LRU cache in memory to boost the performance.

Use

bptree::LRUBPTree has integrated LRU cache in it. You can include LRUBPTree.h to use it.

  • search(K): search specified key and return std::pair<KeyType,bool>. Not found if pair->second is False.
  • insert(K, V): insert a pair of data
  • remove(K): remove the pair with the specified key
  • range(K_low, K_high): get a range of data subject to K_low <= key <= K_high

About

A single-file high performance B+ Tree.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published