package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-shell-libs.shell/Tezos_shell/Prevalidator_classification/Sized_map/index.html
Module Prevalidator_classification.Sized_map
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.
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 = Tezos_base.TzPervasives.Operation_hash.t
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
to_map t
returns the map of the sizedmap t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>