package index
A platform-agnostic multi-level index for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
index-1.3.1.tbz
sha256=c9c662fd314ba06465a12a6362a1f91421d63f77b28930880cb112127e629ee2
sha512=db22d6f986f9ea92c2b6c677c956cdbb8cab4cec57e2828f13560ebe6167a08d1f33332cf8a1a2cdc72cea77a3786d43365181d3fc0a90572fce6212f242836a
doc/index.unix/Index_unix/Private/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)"
>