package ptmap
Maps of integers implemented as Patricia trees
Install
Dune Dependency
Authors
Maintainers
Sources
ptmap-2.0.5.tbz
sha256=ebd1f8afe8679a226fdcbcdb323788e6f63db57521b151473f2ff8c05c30f3aa
sha512=4a3f20d189d905cb588de3148361495adc40d5892473bf9cd7e49bc98558de29feb51efefb5aab77cad892dd288ad8fa0348832c78cc21e66539768a5a9cab5b
doc/ptmap/Ptmap/index.html
Module Ptmap
Source
Maps over integers implemented as Patricia trees.
The following signature is a subset of Map.S with type key = int
, with the same specifications (not repeated here) unless specified otherwise.
These are little-endian Patricia trees, so there is no efficient ordering of keys within the structure. Consequently,
min/max_binding
,find_first/last
are rather inefficient (linear)iter
,fold
*do not* iterate in the key orderbindings
is *not sorted* by keys
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>