]> git.ipfire.org Git - thirdparty/zstd.git/commit
Reduce stack usage of ZSTD_buildCTable() 2522/head
authorNick Terrell <terrelln@fb.com>
Thu, 4 Mar 2021 18:50:34 +0000 (10:50 -0800)
committerNick Terrell <terrelln@fb.com>
Fri, 5 Mar 2021 00:12:11 +0000 (16:12 -0800)
commit27498ff00fa3790b282bb5dcf8dd09b2a9e3fd60
treefed9c195910154798eeb1447a3180cd9fb9f45be
parent0388054aab181d65633d3ff7d020cc04eaf1eb46
Reduce stack usage of ZSTD_buildCTable()

It is a stack high-point for some compression strategies and has an easy
fix. This moves the normalized count into the entropy workspace.
lib/compress/zstd_compress_sequences.c