Replaced one-shot ZSTD_compress / ZSTD_decompress with the streaming API in both data_compress and data_decompress.
The public interface is unchanged — callers pass Data in/out the same way. The internal implementation now uses ZSTD_compressStream2 with ZSTD_e_end and loops until ret == 0, and ZSTD_decompressStream for decompression.
Prepares for true streaming where compression can be interleaved with transmission (future work).
Builds clean (no new warnings)
All 7 tests pass, including test_compression
Replaced one-shot ZSTD_compress / ZSTD_decompress with the streaming API in both data_compress and data_decompress.
The public interface is unchanged — callers pass Data in/out the same way. The internal implementation now uses ZSTD_compressStream2 with ZSTD_e_end and loops until ret == 0, and ZSTD_decompressStream for decompression.
Prepares for true streaming where compression can be interleaved with transmission (future work).
- Builds clean (no new warnings)
- All 7 tests pass, including test_compression
Replaced one-shot ZSTD_compress / ZSTD_decompress with streaming
API (ZSTD_compressStream2 + ZSTD_decompressStream) in both
data_compress and data_decompress. Interface unchanged.
Prepares for true streaming transfer where compression can be
interleaved with transmission.
TapTap
merged commit f778d1903c into main2026-07-16 12:31:49 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Replaced one-shot ZSTD_compress / ZSTD_decompress with the streaming API in both data_compress and data_decompress.
The public interface is unchanged — callers pass Data in/out the same way. The internal implementation now uses ZSTD_compressStream2 with ZSTD_e_end and loops until ret == 0, and ZSTD_decompressStream for decompression.
Prepares for true streaming where compression can be interleaved with transmission (future work).