added benchmark for get1BlockSummary()

This commit is contained in:
Yann Collet authored and Yann Collet committed 2025-01-15 17:11:27 -08:00
1 parent bfc58f5ba2
commit 8eb2587432
3 files changed
+30 -8

No files matched your search

+7
View File
@@ -1525,6 +1525,13 @@ size_t ZSTD_convertBlockSequences(ZSTD_CCtx* cctx,
const ZSTD_Sequence* const inSeqs, size_t nbSequences,
int const repcodeResolution);
typedef struct {
size_t nbSequences;
size_t blockSize;
size_t litSize;
} BlockSummary;
BlockSummary ZSTD_get1BlockSummary(const ZSTD_Sequence* seqs, size_t nbSeqs);
/* ==============================================================
* Private declarations