From 2597ca8aefe90b8ef279f3ed28a1bf4bcf8916eb Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja@tarantool.org> Date: Tue, 31 Mar 2015 18:43:20 +0300 Subject: [PATCH] guava hash: Add a comment. --- src/lib/salad/guava.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/salad/guava.c b/src/lib/salad/guava.c index 84fc5cbfa2..86081b206e 100644 --- a/src/lib/salad/guava.c +++ b/src/lib/salad/guava.c @@ -31,6 +31,12 @@ #include <stdint.h> +/** + * This is implements a consistent hashing algorithm + * A Fast, Minimal Memory, Consistent Hash Algorithm + * John Lamping, Eric Veach + */ + static const int64_t K = 2862933555777941757; static const double D = 0x1.0p31; -- GitLab