package tezos-protocol-alpha
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Cache_memory_helpers/Nodes/index.html
Module Cache_memory_helpers.Nodes
Source
The Nodes
module is used to count the number of computation steps performed when evaluating the size of the in-memory graph corresponding to an OCaml value.
In first approximation, the value of type Nodes.t
threaded through expr_size
below and through the module Script_typed_ir_size
is meant to match the number of recursive calls in the traverse
functions of Script_typed_ir
and in that of node_size
.
The assumption is that there's a bounded amount of work performed between two such recursive calls, hence that the total work is bounded above by something proportional to the Nodes.t
accumulator.
Computations on values of type Nodes.t
do not overflow, as they are bounded above by the number of nodes traversed when computing an OCaml value.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>