]> wimlib.net Git - wimlib/commitdiff
lzx-compress.c: Honor cache_limit
authorEric Biggers <ebiggers3@gmail.com>
Sat, 7 Jun 2014 21:46:39 +0000 (16:46 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 7 Jun 2014 21:47:33 +0000 (16:47 -0500)
This ensures the match cache is never overrun.  If for some reason we
average more than LZX_CACHE_PER_POS (currently 8) matches per position,
_excluding skipped positions_, just don't return any more matches.


No differences found