diff options
author | W. Felix Handte <w@felixhandte.com> | 2018-04-20 17:14:37 (GMT) |
---|---|---|
committer | W. Felix Handte <w@felixhandte.com> | 2018-04-20 17:14:37 (GMT) |
commit | 0064e8ebc7a475d27ba658ca92e40de75c9cac72 (patch) | |
tree | 8dd57f129f611f1b87072d7a9785118adbd364ed /lib/lz4hc.c | |
parent | 14c577d4c9332197dc0003833e043608b4b4b239 (diff) | |
download | lz4-0064e8ebc7a475d27ba658ca92e40de75c9cac72.zip lz4-0064e8ebc7a475d27ba658ca92e40de75c9cac72.tar.gz lz4-0064e8ebc7a475d27ba658ca92e40de75c9cac72.tar.bz2 |
Remove Commented Out Support for Match Continuation over Segment Boundary
Diffstat (limited to 'lib/lz4hc.c')
-rw-r--r-- | lib/lz4hc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c index 20df8fa..e09d8e0 100644 --- a/lib/lz4hc.c +++ b/lib/lz4hc.c @@ -317,11 +317,6 @@ LZ4HC_InsertAndGetWiderMatch ( const BYTE* vLimit = ip + (dictCtx->end - matchPtr); if (vLimit > iHighLimit) vLimit = iHighLimit; mlt = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; - /* - if ((ip+mlt == vLimit) && (vLimit < iHighLimit)) { - mlt += LZ4_count(ip+mlt, base+lowLimit, iHighLimit); - } - */ back = delta ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictCtx->base + dictCtx->dictLimit) : 0; mlt -= back; if (mlt > longest) { |