This commit is contained in:
Elliot Gorokhovsky
2022-06-23 16:59:21 -04:00
parent 747e06f4f6
commit cb9e341129
4 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -501,8 +501,8 @@ size_t ZSTD_compressBlock_fast_dictMatchState_generic(
assert(prefixStartIndex >= (U32)(dictEnd - dictBase));
if (ms->prefetchCDictTables) {
size_t const hashTableSize = ((size_t)1) << dictCParams->hashLog;
PREFETCH_AREA(dictHashTable, hashTableSize * sizeof(U32))
size_t const hashTableBytes = (((size_t)1) << dictCParams->hashLog) * sizeof(U32);
PREFETCH_AREA(dictHashTable, hashTableBytes)
}
/* init */