package grenier

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

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-0.7.tbz
sha256=c2ab40ae80bce5e48f940925dc594f0886c1e54281ed32f28902bea3a3fe5de9
md5=fea64f9534b5a99df7d53665692af0be

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.