projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595ea58
)
Avoid Resetting Chain Table
author
W. Felix Handte
<w@felixhandte.com>
Thu, 22 Mar 2018 21:00:04 +0000
(17:00 -0400)
committer
W. Felix Handte
<w@felixhandte.com>
Fri, 20 Apr 2018 00:54:35 +0000
(20:54 -0400)
lib/lz4hc.c
patch
|
blob
|
history
diff --git
a/lib/lz4hc.c
b/lib/lz4hc.c
index
b6d9bf0
..
0caf001
100644
(file)
--- a/
lib/lz4hc.c
+++ b/
lib/lz4hc.c
@@
-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;