package grenier
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A collection of various algorithms in OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
grenier-v0.12.tbz
sha256=b08e4c774ef72fc53c4fcee477e739d1beac9702079300daddf51ced9fa9cd26
sha512=984d92c51dac7b3f169cad595969a4fdbeb2be7b420ed1a85618d6adbb64af855cf2618d9bd0834e84d6734b99196944cab04435e1aeacad8cdfbc9a7f73d6d4
doc/grenier.orderme/Order_list/index.html
Module Order_listSource
Basic ordering operations
An element of an ordering.
after t inserts a new element to the ordering, greater than t but less than all existing elements greater than t.
O(1) amortized.
before t inserts a new element to the ordering, less than t but greater than all existing elements less than t.
O(1) amortized.
Memory management
Memory of every element is retained. When you know you are not going to use an element any longer, forget it to release memory. O(1).
After calling forget, an element should not be used. You can check if it is the case with is_valid.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page