STX B+ Tree

STX B+ Tree project is a set of C++ template classes implementing a B+ tree key/data container in main memory.
Download

STX B+ Tree Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Timo Bingmann
  • Publisher web site:
  • http://idlebox.net/2007/stx-exparser/

STX B+ Tree Tags


STX B+ Tree Description

STX B+ Tree project is a set of C++ template classes implementing a B+ tree key/data container in main memory. STX B+ Tree project is a set of C++ template classes implementing a B+ tree key/data container in main memory. The classes are designed as drop-in replacements of the STL containers set, map, multiset and multimap and follow their interfaces very closely. By packing multiple value pairs into each node of the tree the B+ tree reduces heap fragmentation and utilizes cache-line effects better than the standard red-black binary tree.The tree algorithms are based on the implementation in Cormen, Leiserson and Rivest's Introduction into Algorithms, Jan Jannink's paper and other algorithm resources. The classes contain extensive assertion and verification mechanisms to ensure the implementation's correctness by testing the tree invariants.The main B+ tree implementation can be found in doxygen stx/btree.h or with plain text comments btree.h.Special interest was put into performing a speed comparison test between the standard red-black tree and the new B+ tree implementation. The speed test results are interesting and show the B+ tree to be significantly faster. What's New in This Release: · All issues with root node pointer == NULL have been fixed. · A crash when attempting to copy-construct an empty btree or when trying to remove a nonexistent item from an empty btree has been fixed. · A crash when running verify() on an empty btree object has been fixed. · Now the root node is freed when the last item is removed.


STX B+ Tree Related Software