gap_query_interval_tree

Crates.iogap_query_interval_tree
lib.rsgap_query_interval_tree
version0.2.0
sourcesrc
created_at2023-06-11 17:25:13.734815
updated_at2023-12-03 21:03:30.660277
descriptionA crate that provides a gap-query optimized interval-tree data-structure.
homepagehttps://github.com/ripytide/gap_query_interval_tree
repositoryhttps://github.com/ripytide/gap_query_interval_tree
max_upload_size
id887494
size131,478
ripytide (ripytide)

documentation

https://docs.rs/gap_query_interval_tree

README

A crate that provides a gap-query optimized interval-tree data-structure.

no_std is supported and should work with the default features.

There are three main operations available on this data-structure: insertion, removal and gap-queries. Each of which are O(log(N) + K) where N is the total number of intervals in the tree and K is the number of intervals required to be processed.

Here are visualizations of the three operations:

Insertion

insertion

Removal

removal

Gap-Query

gap-query

Commit count: 22

cargo fmt