new block splitting variant _fromBorders

less precise but still suitable for `fast` strategy.
This commit is contained in:
Yann Collet
2024-10-25 16:13:55 -07:00
parent 7fb5347e88
commit e557abc8a0
4 changed files with 71 additions and 21 deletions
+7
View File
@@ -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 occurences 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);