package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
doc/octez-libs.base/Tezos_base/Sized/MakeSizedSet/index.html
Module Sized.MakeSizedSet
Source
This module implements a sized-set data-structure.
This module has the same interface as Stdlib.Set
but with a different performance trade-off:
The cardinal function is much more efficient, but all other functions are a little bit slower. You should use this module if you need to call the cardinal
function often. You should stick to Stdlib.Set
otherwise.
Parameters
module Set : Tezos_error_monad.TzLwtreslib.Set.S
Signature
All the types and functions from the underlying Sets are supported.
The functions union
and inter
are less efficient than TzLwtreslib.Set.S.union
and TzLwtreslib.Set.S.inter
which should be considered instead, especially in case there are called several times. to_set
and of_set
can be used for this purpose.
include Tezos_error_monad.TzLwtreslib.Set.S with type elt = Set.elt
Source
val iter_ep :
(elt -> (unit, 'error Tezos_error_monad.TzTrace.trace) result Lwt.t) ->
t ->
(unit, 'error Tezos_error_monad.TzTrace.trace) result Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page