package current_incr
Self-adjusting computations
Install
Authors
Maintainers
Sources
current_incr-0.6.1.tbz
sha256=86648df3a0940369830f819aa0049d09a6c4f642278cf6d38cd87fcca0f95cc1
sha512=7e30d310897bc4d067b4021c9453b74d505db5c5d8c429254da238faa40f93da4370a11f7e29973371baca3fa8d55693a052bf4679018ca97bc4aa0cfb11fec6
Description
This is a small, self-contained library for self-adjusting (incremental) computations. It was written for OCurrent, but can be used separately too.
It is similar to Jane Street's incremental library, but much smaller and has no external dependencies.
It is also similar to the react library, but the results do not depend on the behaviour of the garbage collector. In particular, functions stop being called as soon as they are no longer needed.
Published: 25 Oct 2022
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page