indextreemap

Crates.ioindextreemap
lib.rsindextreemap
version0.1.25
sourcesrc
created_at2023-06-29 00:40:18.911729
updated_at2023-12-22 15:20:27.784749
descriptionA BTreeMap implementation that allows for key and or positional insertion and retreival.
homepage
repositoryhttps://github.com/d-tietjen/indextreemap_rust
max_upload_size
id902868
size136,079
Devon Tietjen (d-tietjen)

documentation

README

indextreemap

IndexTreeMap is an ordered tree map based on the rust standard library BTreeMap, that allows for items to be accessed by key, value, or position in the tree.

This library is meant to serve niche use cases where the deterministic ordering of key-value items is required, with the ability to index items by position or key in logarithmic time.

When compared to the standard library BTreeMap (std::collections::BTreeMap), for operations that require changes in memory allocation (insert, remove, etc...) the IndexTreeMap is slower. However, when referencing data already allocated in memory, the IndexTreeMap is equivalent or faster.

Commit count: 10

cargo fmt