fused getLongerMatch and getWiderMatch
authorYann Collet <cyan@fb.com>
Mon, 9 Oct 2017 08:50:28 +0000 (01:50 -0700)
committerYann Collet <cyan@fb.com>
Mon, 9 Oct 2017 08:50:28 +0000 (01:50 -0700)
lib/lz4hc.c

index bd75911..47474d3 100644 (file)
@@ -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,