package irmin-pack
Irmin backend which stores values in a pack file
Install
Dune Dependency
Authors
Maintainers
Sources
irmin-3.4.2.tbz
sha256=964512f77697947a73dd1875c634d6804e98f14167c5aadd3c4f85b5f30ffb53
sha512=d56d3285daa2dd36f1eaff867af5c8f44c61bba4de1a5c7bb5347652dbc460c343483ab61de1a9302f664af357eacc964dc5c8b4477f6d01372dc028b162e98b
doc/irmin-pack.unix/Irmin_pack_unix/Checks/Index/argument-1-Index/Key/index.html
Module Index.Key
type t = key
The type for keys.
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)"
>