1
0
mirror of https://github.com/facebook/zstd.git synced 2025-08-01 09:47:01 +03:00

ZSTD_compressSequencesAndLiterals() now supports multi-blocks frames.

This commit is contained in:
Yann Collet
2024-12-16 18:05:40 -08:00
parent 5164d44dab
commit 31b5ef2539
3 changed files with 23 additions and 24 deletions

View File

@ -3880,7 +3880,7 @@ static int basicUnitTests(U32 const seed, double compressibility)
DISPLAYLEVEL(3, "test%3i : ZSTD_compressSequencesAndLiterals : ", testNb++);
{
const size_t srcSize = 100 KB;
const size_t srcSize = 500 KB;
const BYTE* const src = (BYTE*)CNBuffer;
BYTE* const dst = (BYTE*)compressedBuffer;
const size_t dstCapacity = ZSTD_compressBound(srcSize);