Avoid Resetting Chain Table
authorW. Felix Handte <w@felixhandte.com>
Thu, 22 Mar 2018 21:00:04 +0000 (17:00 -0400)
committerW. Felix Handte <w@felixhandte.com>
Fri, 20 Apr 2018 00:54:35 +0000 (20:54 -0400)
lib/lz4hc.c

index b6d9bf0..0caf001 100644 (file)
@@ -87,7 +87,6 @@ static U32 LZ4HC_hashPtr(const void* ptr) { return HASH_FUNCTION(LZ4_read32(ptr)
 static void LZ4HC_init (LZ4HC_CCtx_internal* hc4, const BYTE* start)
 {
     DEBUGLOG(4, "LZ4HC_init(%p, %p)", hc4, start);
-    MEM_INIT(hc4->chainTable, 0xFF, sizeof(hc4->chainTable));
     hc4->nextToUpdate = 64 KB;
     hc4->base = start - 64 KB;
     hc4->end = start;