minor split optimization

let's fill the initial stats directly into target fingerprint
This commit is contained in:
Yann Collet
2024-10-23 11:50:57 -07:00
parent dac26eaeac
commit 1c62e714ab
2 changed files with 9 additions and 5 deletions
+4
View File
@@ -22,6 +22,10 @@ extern "C" {
/* note:
* @workspace must be aligned on 8-bytes boundaries
* @wkspSize must be at least >= ZSTD_SLIPBLOCK_WORKSPACESIZE
* note2:
* for the time being, this function only accepts full 128 KB blocks,
* therefore @blockSizeMax must be == 128 KB.
* This could be extended to smaller sizes in the future.
*/
size_t ZSTD_splitBlock_4k(const void* src, size_t srcSize, size_t blockSizeMax, void* workspace, size_t wkspSize);