package irmin-bench

  1. Overview
  2. Docs
Irmin benchmarking suite

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

doc/irmin-bench.traces/Irmin_traces/Trace_common/Var_int/index.html

Module Trace_common.Var_intSource

Very similar to what can be found in "repr/type_binary.ml", but working straight off channels.

Var_int.read_exn reads the chars one by one from the provided chan. The recursion stops as soon as a read char has its 8th bit equal to 0.

Var_int.write could be implemented using Repr.encode_bin int, but since read_exn isn't implemented using repr, write isn't either.

Sourceval chars : string array
Sourceval write : int -> out_channel -> unit
Sourceval read_exn : in_channel -> int
OCaml

Innovation. Community. Security.