package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.17.1-501.tbz
sha256=376707aa871f09e9639456d3fbe4b89a21c9ad75c774e94cbbbe67f842b0a500
sha512=a11ea4b8e3520b3ee41ae8198cda34b2816b8dfcdcb99350ef29689a7d62bb66d17ffa075c551aa56d521120b55e6db14a106a31f7b3970ed2aa07e1db3c9b88
doc/merlin-lib.utils/Merlin_utils/Stamped_hashtable/index.html
Module Merlin_utils.Stamped_hashtable
Source
An instance of a stamped hashtable
The changelog
datastructure logs stamped bindings added to tables. By separating the log from the table, it is possible to efficiently remove stamped bindings spread accross multiple tables.
create changelog n
creates a new table with an initial size of n
(see Hashtbl.create
) that logs its changes to changelog
.
Add a binding, like Hashtbl.add
, with an optional stamp
. Unlike Hashtbl.add
, having multiple bindings with the same key is undefined. (It's ok, this feature is not used by the caches!)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>