diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2025-02-21 20:33:28 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2025-02-21 22:22:00 +0300 |
commit | 005b8a9fd31e325164fdaad9ccde51222d9dc1c7 (patch) | |
tree | 927528cb5e48c5a3af50e324fd4476fe7d3c9657 /contrib/libs/zstd/lib/compress/hist.h | |
parent | 74abb8215ba55f6017c2504dc3312470949afa89 (diff) | |
download | ydb-005b8a9fd31e325164fdaad9ccde51222d9dc1c7.tar.gz |
Update contrib/libs/zstd to 1.5.7
Release highlights are:
* The compression speed for small data blocks has been notably (~10%) improved at fast compression levels.
* The `--patch-from` functionality of the zstd CLI ... had its speed reduced to uncomfortable levels. v1.5.7 largely mitigates the speed impact of high compression levels 18+
* The compression ratio has been enhanced slightly for large data across all compression levels,
commit_hash:c66283dd802e1fd38484f7179848006c58f2baa4
Diffstat (limited to 'contrib/libs/zstd/lib/compress/hist.h')
-rw-r--r-- | contrib/libs/zstd/lib/compress/hist.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/libs/zstd/lib/compress/hist.h b/contrib/libs/zstd/lib/compress/hist.h index 887896b813..bea2a9ebff 100644 --- a/contrib/libs/zstd/lib/compress/hist.h +++ b/contrib/libs/zstd/lib/compress/hist.h @@ -73,3 +73,10 @@ size_t HIST_countFast_wksp(unsigned* count, unsigned* maxSymbolValuePtr, */ unsigned HIST_count_simple(unsigned* count, unsigned* maxSymbolValuePtr, const void* src, size_t srcSize); + +/*! HIST_add() : + * Lowest level: just add nb of occurrences of characters from @src into @count. + * @count is not reset. @count array is presumed large enough (i.e. 1 KB). + @ This function does not need any additional stack memory. + */ +void HIST_add(unsigned* count, const void* src, size_t srcSize); |