package grenier

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

grenier-0.16.tbz
sha256=8fd22abf9f4589c206008654fa9eebb1cf4a58737ebb34138c6709520f36b75f
sha512=f60315eccfecaec9cb4c3bd020ef6f94d05ed6b13038109b904ead6e4e5662f4ed95415855b3c763293b762b696f1962045393fd592742d54cf5607d0ef2961a

doc/grenier.jmphash/Jmphash/index.html

Module JmphashSource

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

Sourceval 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.