package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-4.16-414.tbz
sha256=c5e91975f3df56849e1b306f356c31709a2b139d7d57634b8d21e473266fcf2d
sha512=1d2db379b496dc0b95874f312011cce1a48f6808e098f1aff768de0eef0caff222adc17ab61b85c7aac8d889bf9d829fb5d0211267c7a85572ce201c1cbcb990
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)"
>