(tableType == byU32 &&
cctx->currentOffset > 1 GB) ||
tableType == byPtr ||
- inputSize >= 2 KB))
+ inputSize >= 4 KB))
{
DEBUGLOG(4, "Resetting table in %p", cctx);
MEM_INIT(cctx->hashTable, 0, LZ4_HASHTABLESIZE);
* dictCtx->currentOffset - dictCtx->dictSize. This makes it safe
* to use noDictIssue even when the dict isn't a full 64 KB.
*/
- if (inputSize > 2 KB) {
+ if (inputSize > 4 KB) {
/* For compressing large blobs, it is faster to pay the setup
* cost to copy the dictionary's tables into the active context,
* so that the compression loop is only looking in one table.