-
Notifications
You must be signed in to change notification settings - Fork 29
Fead/add dict args #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis change adds an optional dictionary parameter to the main compression and decompression functions in the PHP Zstd extension, updating their signatures, documentation, and argument info. Multiple new and updated tests verify dictionary-based compression and decompression, both in one-shot and incremental modes. Deprecated dictionary-specific functions are marked as such. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PHP_Zstd_Ext
participant Zstd_Lib
User->>PHP_Zstd_Ext: zstd_compress(data, level, dict)
PHP_Zstd_Ext->>Zstd_Lib: Compress data with optional dict
Zstd_Lib-->>PHP_Zstd_Ext: Compressed output
PHP_Zstd_Ext-->>User: Return compressed data
User->>PHP_Zstd_Ext: zstd_uncompress(data, dict)
PHP_Zstd_Ext->>Zstd_Lib: Decompress data with optional dict
Zstd_Lib-->>PHP_Zstd_Ext: Decompressed output
PHP_Zstd_Ext-->>User: Return decompressed data
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15–20 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
6c92418 to
8868f4f
Compare
8868f4f to
8360fda
Compare
8360fda to
05010cc
Compare
05010cc to
b480694
Compare
Summary by CodeRabbit
New Features
Documentation
Tests
Deprecation