package index
A platform-agnostic multi-level index for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
index-1.6.0.tbz
sha256=5e0c1f6cbd6e485cbbf2344c8f76de8a7869155355ae6edd5550c88da0661594
sha512=613fa206d1124b34259421f4ea978ce4e9404d78af3a687c1e406d88a5d481bd51465fafae58da9eb3e6a0b5408118b8a7dfe1fbb05ce8fed4b8b0a572beb99b
doc/index.unix/Index_unix/Make/argument-1-K/index.html
Parameter Make.K
val hash : t -> int
Note: Unevenly distributed hash functions may result in performance drops.
The number of bits necessary to encode the maximum output value of hash
. `Hashtbl.hash` uses 30 bits.
Overestimating the hash_size
will result in performance drops; underestimation will result in undefined behavior.
val encode : t -> string
encode
is an encoding function. The resultant encoded values must have size encoded_size
.
encoded_size
is the size of the result of encode
, expressed in number of bytes.
val decode : string -> int -> t
decode s off
is the decoded form of the encoded value at the offset off
of string s
. Must satisfy decode (encode t) 0 = t
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>