facebook / facebook/zstd

[umbrella task] Track and improve code size

Đang mở
#2,867 1 bình luận 3 reaction 0 người được giao Xem trên GitHub
long-term
Ngôn ngữ chính
C
Star
27.9k
Fork
2.6k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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.

1. Explicitly track our code size in our tests, and monitor between releases.
2. Look at the largest code size files and try to find wins.
a. `zstd_opt.c` is a prime target: Issue #2866.
b. `zstd_lazy.c` was optimized in PR #2828, but there is still more that can be won (as mentioned in the TODO).
3. Enable modular builds. E.g. allow cutting out dictionary support, or cutting out high compression levels.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.