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:
97c18f5
)
fused getLongerMatch and getWiderMatch
author
Yann Collet
<cyan@fb.com>
Mon, 9 Oct 2017 08:50:28 +0000
(
01:50
-0700)
committer
Yann Collet
<cyan@fb.com>
Mon, 9 Oct 2017 08:50:28 +0000
(
01:50
-0700)
lib/lz4hc.c
patch
|
blob
|
history
diff --git
a/lib/lz4hc.c
b/lib/lz4hc.c
index
bd75911
..
47474d3
100644
(file)
--- a/
lib/lz4hc.c
+++ b/
lib/lz4hc.c
@@
-272,7
+272,7
@@
LZ4_FORCE_INLINE int LZ4HC_InsertAndGetWiderMatch (
return longest;
}
-#if
0
+#if
1
LZ4_FORCE_INLINE
int LZ4HC_InsertAndFindBestMatch(LZ4HC_CCtx_internal* const hc4, /* Index table will be updated */
const BYTE* const ip, const BYTE* const iLimit,