package splay_tree
A splay tree implementation
Install
Dune Dependency
Authors
Maintainers
Sources
splay_tree-v0.15.0.tar.gz
sha256=0fa105bb09ea3eae1ec7d81e1326608a502c1bc3af0670afb564a9897efcd2e2
Description
Splay trees are binary search trees that move recently accessed nodes closer to the root for easier access. They have amortized O(log n)-time access for a large enough sequence of primitive operations.
A splay trees may outperform other trees such as red-black trees when recently accessed items are more likely to be accessed in the near future.
Notably, this splay tree implementation is parameterized by a reduction operation which lets you specify an extra accumulator value, which can then be searched by efficiently.
Published: 21 Mar 2022
README
README.org
A splay tree implementation. Splay trees are binary search trees that move recently accessed nodes closer to the root for easier access. They have amortized O(log n)-time access for a large enough sequence of primitive operations. A splay trees may outperform other trees such as red-black trees when recently accessed items are more likely to be accessed in the near future. Notably, this splay tree implementation is parameterized by a reduction operation which lets you specify an extra accumulator value, which can then be searched by efficiently.
Dependencies (4)
Dev Dependencies
None
Used by (3)
-
incr_dom_interactive
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_partial_render
>= "v0.15.0" & < "v0.16.0"
-
incr_dom_sexp_form
>= "v0.15.0" & < "v0.16.0"
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page