package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
doc/octez-libs.base/Tezos_base/Sized/MakeSizedMap/index.html
Module Sized.MakeSizedMap
Source
This module implements a sized-map data-structure.
This module has the same interface as Stdlib.Map
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.Map
otherwise.
Parameters
module Map : Tezos_error_monad.TzLwtreslib.Map.S
Signature
All the types and functions from the underlying Maps are supported.
The functions merge
and union
are less efficient than TzLwtreslib.Map.S.merge
and TzLwtreslib.Map.S.union
which should be considered instead, especially in case there are called several times. to_map
and of_map
can be used for this purpose.
include Tezos_error_monad.TzLwtreslib.Map.S with type key = Map.key
Source
val iter_ep :
(key -> 'a -> (unit, 'error Tezos_error_monad.TzTrace.trace) result Lwt.t) ->
'a 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