]> git.ipfire.org Git - thirdparty/zstd.git/commit
Reduce size of ZSTD_CDict 992/head
authorNick Terrell <terrelln@fb.com>
Tue, 16 Jan 2018 23:23:39 +0000 (15:23 -0800)
committerNick Terrell <terrelln@fb.com>
Wed, 17 Jan 2018 19:50:49 +0000 (11:50 -0800)
commit16bd0fd4dfe72b0af6a1fa672c2ef90a6d0788d7
tree09dd20d1b25179bfe7735978e46cfc57abfeff77
parentf0d703243f4dab362eef4d73309498a902bce7b5
Reduce size of ZSTD_CDict

Shaves 492,076 B off of the `ZSTD_CDict`.
The size of a `ZSTD_CDict` created from a 112,640 B dictionary is:

| Level | Before (B) | After (B) |
|-------|------------|-----------|
| 1     | 648,448    | 156,412   |
| 3     | 1,140,008  | 647,932   |
lib/compress/zstd_compress.c