package incremental
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Library for incremental computations
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=bcd6da0c70d9f0b0d528b16d8faf800dd92cd45dca817f4b750628921671e8e0
doc/incremental.memoize/Incr_memoize/Store_params/index.html
Module Incr_memoize.Store_paramsSource
Represents parameters to initialize a store that will cache incremental computations.
Use a map as a backend, never remove from cache
Source
val hash_based__lru :
max_size:int ->
(module Core.Hashtbl.Key_plain with type t = 'key) ->
'key tUse a hash table as a backend, evict the computation for the 'key that has been least recently accessed.
Use an alist as a backend, evict the computation for the 'key that has been least recently accessed. Operations to access the memoized computation are O(max_size) on each change in 'key.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>