package grenier

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

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-v0.8.tbz
sha256=622a34f91f2787096f15786901b8d8cff528cada805b018fdbd522c00c6f13e8
sha512=e687e7c9e7b61d876c70570a9b6e4f3a497c8deb334e28532d8c2f9a2a06bff1330431b64ec3e8c4bcfcf2cc9495723339196608c6c4ac5a0699020d0af93e26

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.