package irmin-pack
Irmin backend which stores values in a pack file
Install
Dune Dependency
Authors
Maintainers
Sources
irmin-3.6.1.tbz
sha256=11fc2570bdbfd48478c89113fc801084a84a9a2c12d9bf8c64e05ce64ae19bd7
sha512=2171699ca24dec5c9c908a2676b272e034c14eb17f7052a794535e52af0be40be68a689e59c0a640ee244b11703320483f4d0c261542e6242ba23a8f1272b9b0
doc/irmin-pack.unix/Irmin_pack_unix/File_manager/Make/argument-2-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)"
>