From b167bfcb02778450ffcf63873f4883d5edd1c0df Mon Sep 17 00:00:00 2001 From: Krzysiek Witkowicz Date: Mon, 22 May 2017 21:32:27 +0100 Subject: [PATCH] Fix #4008 small typo in comment --- src/siphash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/siphash.c b/src/siphash.c index 6c41fe6b6..f32235626 100644 --- a/src/siphash.c +++ b/src/siphash.c @@ -22,7 +22,7 @@ 1. We use SipHash 1-2. This is not believed to be as strong as the suggested 2-4 variant, but AFAIK there are not trivial attacks against this reduced-rounds version, and it runs at the same speed - as Murmurhash2 that we used previously, why the 2-4 variant slowed + as Murmurhash2 that we used previously, while the 2-4 variant slowed down Redis by a 4% figure more or less. 2. Hard-code rounds in the hope the compiler can optimize it more in this raw from. Anyway we always want the standard 2-4 variant.