This commit is contained in:
Simon Cruanes 2026-03-14 23:34:35 -04:00
parent 31eb8d163f
commit 0584b8c890
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -1,8 +1,8 @@
(** Hash combinators with 64-bit state threading. (** Hash combinators with 64-bit state threading.
State is threaded explicitly as a private [int64] through combinators, State is threaded explicitly as a private [int64] through combinators.
preserving full 64-bit quality throughout. Finalize with {!finalize} (returns Finalize with {!finalize} (returns a positive [int]) or {!finalize64}
a positive [int]) or {!finalize64} (returns the raw [int64]). (returns the raw [int64]).
Typical use: Typical use:
{[ {[
@ -15,6 +15,8 @@
{b Implementation}: xorshift+multiply combiner with fmix64 (Murmur3) {b Implementation}: xorshift+multiply combiner with fmix64 (Murmur3)
finalizer, via C stubs. Unboxed in native code. finalizer, via C stubs. Unboxed in native code.
@since NEXT_RELEASE
*) *)
type state = private int64 type state = private int64