package incremental
Library for incremental computations
Install
Dune Dependency
Authors
Maintainers
Sources
v0.16.1.tar.gz
md5=c1c01831c72847296ce2569d2cc4372f
sha512=0116a82509c9037529092c5a31bdc8f0c64ed3d4c7a58a67f5250685196c9830e352100c83185bba8b2db949ffc9e3f39a0bbfe14c07e0da63e0302ca24aaa7a
doc/incremental.memoize/Incr_memoize/Store_params/index.html
Module Incr_memoize.Store_params
Source
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 t
Use 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)"
>