package tezos-protocol-013-PtJakart
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
doc/tezos-protocol-013-PtJakart.raw/Tezos_raw_protocol_013_PtJakart/Carbonated_map_costs/index.html
Module Tezos_raw_protocol_013_PtJakart.Carbonated_map_costs
Source
The Carbonated_map_costs
module contains gas cost functions for Carbonated_map
.
find_cost ~compare_key_cost ~size
returns the gas cost for looking up an element from a map of size size
. The user of this function is responsible for providing a correct value of compare_key_cost
, representing the cost of comparing elements with a given key.
Source
val update_cost :
compare_key_cost:Alpha_context.Gas.cost ->
size:int ->
Alpha_context.Gas.cost
update_cost ~compare_key_cost ~size
returns the gas cost for updating an element in a map of size size
. The user of this function is responsible for providing a correct value of compare_key_cost
, representing the cost of comparing elements with a given key.
fold_cost ~size
returns the cost of folding over a list of size size
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>