package tezos-benchmark
type elt = Free_variable.t
The type of elements in bijection with {0; ..; n-1}
.
of_list l
Constructs a bijection between l and {0; ...; n-1}
. The bijection is constructed by assigning to the elements l0, l1, ..., ln-1 the indices {0; 1; ...; n-1}
.
Returns the index of a given element. This is O(log2(n)) for a set with n
elements when using the map-based implementation.
val support : t -> int
Returns the size of domain of the bijection.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>