zstd
zstd copied to clipboard
[umbrella task] Track and improve code size
Zstd has been getting larger over the years, as we've added features and improved performance. We should take a comprehensive look at code size, and try to optimize our code size while retaining performance.
- Explicitly track our code size in our tests, and monitor between releases.
- Look at the largest code size files and try to find wins.
a.
zstd_opt.cis a prime target: Issue #2866. b.zstd_lazy.cwas optimized in PR #2828, but there is still more that can be won (as mentioned in the TODO). - Enable modular builds. E.g. allow cutting out dictionary support, or cutting out high compression levels.
hello,
wondering, if dropping build flags because of buggy compiler is a standard way to solve the issues.
what will happen, if -O1 became buggy on that parisc system? if something different, than in e2d01863bce98a4642c98cf7727ed8bfb0f33c81, why this something didn't happen for -O3 bug? thanks.