Skip to content

Commit

Permalink
Fix redis#4008 small typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kwitkowicz committed May 22, 2017
1 parent e91b81c commit b167bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/siphash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b167bfc

Please sign in to comment.