package flatunionfind
A union-find data structure inside a vector
Install
Dune Dependency
Authors
Maintainers
Sources
20241210.tar.gz
md5=de69ee87893afb52f95522175813fb10
sha512=43c01317be20b0222834b24f4558a7453494b1c4a1dccc9b310c9ca600d060bfa8f95f6650937d509fb7c35a44806abf49b1d9a057c56df648d2fc219921d3c6
doc/index.html
A Flat Union-Find Data Structure
This library that offers a union-find data structure that is stored inside a vector.
Its main module is FlatUnionFind
-- click this link for documentation.
Performance
Compared with unionFind, which uses heap-allocated objects and pointers between them, this data structure can (in some usage scenarios) be faster and more compact.
However, because it does not allow the garbage collector to reclaim dead points, it can also be slower and use more space.
Installation and Usage
Type opam install flatunionfind
.
In your dune
file, add (libraries flatunionfind)
to the description of your library
or executable
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page