summaryrefslogtreecommitdiffstats
path: root/lib/lz4hc.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-10-09 07:36:47 (GMT)
committerYann Collet <cyan@fb.com>2017-10-09 07:36:47 (GMT)
commitbdca63ed69dc1873b385c87b25d64fa5ebd595f7 (patch)
treefc3ea96a3b1c19b6616a3a2f6032f91795d20b59 /lib/lz4hc.c
parent1ee17e4eb8268aecbec3611f77061a38478a22ad (diff)
downloadlz4-bdca63ed69dc1873b385c87b25d64fa5ebd595f7.zip
lz4-bdca63ed69dc1873b385c87b25d64fa5ebd595f7.tar.gz
lz4-bdca63ed69dc1873b385c87b25d64fa5ebd595f7.tar.bz2
early out is not better
Diffstat (limited to 'lib/lz4hc.c')
-rw-r--r--lib/lz4hc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c
index 010ac2d..19636c5 100644
--- a/lib/lz4hc.c
+++ b/lib/lz4hc.c
@@ -262,7 +262,6 @@ LZ4_FORCE_INLINE int LZ4HC_InsertAndGetWiderMatch (
matchIndex += (U32)forwardPatternLength - (U32)srcPatternLength; /* best position, full pattern, might be followed by more match */
} else {
matchIndex -= (U32)backLength; /* let's go to farthest segment position, will find a match of length currentSegmentLength + maybe some back */
- //matchIndex -= DELTANEXTU16(chainTable, matchIndex); /* skip directly to following candidate; slightly faster, but miss some rare corner cases (likely when back is useful)*/
}
} } } }
} /* while ((matchIndex>=lowLimit) && (nbAttempts)) */