1 unstable release

0.1.0 Sep 1, 2020

#1915 in Data structures

Download history 13/week @ 2023-11-30 3/week @ 2024-01-04 4/week @ 2024-01-11 2/week @ 2024-02-08 288/week @ 2024-02-15 31/week @ 2024-02-22 22/week @ 2024-02-29 17/week @ 2024-03-07 8/week @ 2024-03-14

210 downloads per month

MIT license

42KB
1K SLoC

Vector backed B and AVL trees written in Rust

MIT licensed

The goal was to provide vector backed tree/map implementation before allocator_api is stabilized and the standard library supports custom allocators in data structures.

IMPORTANT

These trees seem stable, but have not been properly tested yet, only fuzzed with RNG. If any of the tests fail, PLEASE submit an issue report with the (last) seed number with which the test failed.

BVecTreeMap

Follows the same function namings as regular BTreeMap, however, so far does not include quite a few of them.

AVLTree

Very much unstabilized, may even get removed, as it is around 3 times slower than BTreeMap. Activate using "avltree" feature flag.

Dependencies

~61KB