package grenier

  1. Overview
  2. Docs
A collection of various algorithms in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-v0.10.tbz
sha256=271ae9461d012c99449e5233386b13ab99ae2e474ed570e05bf0c9947e5eff1e
sha512=73c89aa6281f612c499eb734c6fc4d33b961ed82d6cc7380b03acb196233c27107e103b11f55e50f543f0f1dedb4924e6691a5c3c353ef4d8177bc661fc2bfd4

doc/grenier.jmphash/Jmphash/index.html

Module Jmphash

An implementation of "A Fast, Minimal Memory, Consistent Hash Algorithm"

val host : hosts:int -> int64 -> int

host ~hosts key tells you on which host, between 0 and hosts-1, you should store value indexed by key.

OCaml

Innovation. Community. Security.