Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h33p/vector-trees
Vector backed AVL and B-Trees in Rust
https://github.com/h33p/vector-trees
Last synced: 8 days ago
JSON representation
Vector backed AVL and B-Trees in Rust
- Host: GitHub
- URL: https://github.com/h33p/vector-trees
- Owner: h33p
- License: mit
- Created: 2020-06-24T16:53:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T12:32:34.000Z (over 4 years ago)
- Last Synced: 2024-10-16T04:11:54.630Z (about 1 month ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Vector backed B and AVL trees written in Rust
[![MIT licensed][mit-badge]][mit-url]
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[mit-url]: LICENSE.mdThe 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.