TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #10571 1.49K
#prog #rust #rustlib

brie-tree - SIMD-optimized B+ Tree implementation that uses integer keys

A fast B+ Tree implementation that uses integer keys.
The API is similar to the standard library's BTreeMap with some significant differences:

* Lookups and insertions are 2-4x faster than BTreeMap.
* BTree can optionally be used as a multi-map and hold duplicate keys.
* Keys must be integer types or convertible to integers via the BTreeKey trait.
* The maximum integer value is reserved for internal use and cannot be used by keys.
* Elements in the tree are ordered by the integer value of the key instead of the Ord implementation of the keys.
* Cursors can be used to seek back-and-forth in the tree while inserting or removing elements.
* Iterators only support forward iteration.
  • 👍 10
More from @dereference_pointer_there
  1. Oct 12, 2026Post #11586
  2. Oct 12, 2026Блинчики могут помочь возбудить девушку.
  3. Oct 12, 2026Число совершивших террористические преступления детей выросло вдвое https://www.rbc.ru/soc…
  4. Oct 11, 2026Не пытайтесь
  5. Oct 11, 2026#prog #ml #meme
  6. Oct 11, 2026#meme
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →