package index
A platform-agnostic multi-level index for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
index-1.5.0.tbz
sha256=2e311cd0bad5b831ac4cebacc83d319b0bca7d5b713ef42dca2bcc064cda34e0
sha512=02d9bfe68daba9c857455244708bf7f25aac50a02a3c14b35cc499dd2a0ccfe5fa47016aea783efadc652bd922c6d4216eac8188400617e98ddc3eb98b9c16c3
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)"
>