sorted-index-buffer

Crates.iosorted-index-buffer
lib.rssorted-index-buffer
version0.2.1
created_at2025-12-05 13:34:46.715024+00
updated_at2025-12-10 12:28:40.676542+00
descriptionarray based sorted map with u64 keys
homepage
repositoryhttps://github.com/n0-computer/iroh
max_upload_size
id1968204
size45,151
RĂ¼diger Klaehn (rklaehn)

documentation

README

SortedIndexBuffer

This crate provides a data structure with identical behaviour to a BTreeMap<u64, T>, but optimized for the case where keys are mostly consecutive.

It has no dependencies and should work in all environments.

Tests are comparing against BTreeMap<u64, T> using proptest.

License

Copyright 2025 N0, INC.

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 1930

cargo fmt