diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2020-04-30 21:05:05 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-05-24 14:32:26 +0200 |
commit | 07207681ed29d6cc7528df9d5cf8f587c6199a1c (patch) | |
tree | 85f008dc8b81a40258e346d20068246d53ce57a2 /deflate_fast.c | |
parent | 600dcc301259f006af5e7141ae9b7129d24f23ef (diff) |
Simplify generic hash function using knuth's multiplicative hash.
Diffstat (limited to 'deflate_fast.c')
-rw-r--r-- | deflate_fast.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/deflate_fast.c b/deflate_fast.c index 12244fe..1910645 100644 --- a/deflate_fast.c +++ b/deflate_fast.c @@ -74,7 +74,6 @@ ZLIB_INTERNAL block_state deflate_fast(deflate_state *s, int flush) { } else { s->strstart += s->match_length; s->match_length = 0; - s->ins_h = s->window[s->strstart]; #if MIN_MATCH != 3 functable.insert_string(s, s->strstart + 2 - MIN_MATCH, MIN_MATCH - 2); #else |