Files
bun.sh/test/js/node
Claude Bot e213bc9cbe feat(node:zlib): Add dictionary support to zstdCompress and zstdDecompress
Implements dictionary support for ZSTD compression and decompression in node:zlib,
matching Node.js API. Dictionaries can significantly improve compression ratios
for data with predictable patterns.

Changes:
- Add compressUsingDict and decompressUsingDict functions to src/deps/zstd.zig
- Update NativeZstd.zig to handle dictionary loading in compression contexts
- Modify Zstd class in zlib.ts to accept dictionary option and pass to native code
- Add test case from Node.js test suite to verify functionality

The implementation uses ZSTD_CCtx_loadDictionary and ZSTD_DCtx_loadDictionary
APIs for streaming compression/decompression with dictionary support.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-23 02:09:24 +00:00
..
2025-05-26 21:18:22 -07:00
2025-08-04 19:42:40 -07:00
2025-05-22 21:12:43 -07:00
2023-03-07 12:22:34 -08:00
2023-03-07 12:22:34 -08:00