package splay_tree
A splay tree implementation
Install
Dune Dependency
Authors
Maintainers
Sources
splay_tree-v0.10.0.tar.gz
sha256=9ea952912c52a269757baa0bf08b060b34edd15c7061c1de60764213ddccae1e
md5=003fb5f4b0fbb71d86f200b9df90abba
README.org.html
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>