-
-
Notifications
You must be signed in to change notification settings - Fork 308
Use arch-specific deflate_quick functions instead of compare256. #1847
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
Use arch-specific deflate_quick functions instead of compare256. #1847
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces significant changes to the zlib library's deflation process, focusing on optimizing quick deflation across different architectures. The modifications involve adding a new template header Changes
Sequence DiagramsequenceDiagram
participant Init as Initialization
participant FuncTable as Function Table
participant Arch as Architecture-Specific Implementation
participant Deflate as Deflation Process
Init->>FuncTable: Initialize function table
FuncTable->>Arch: Select optimal deflate_quick implementation
Arch-->>FuncTable: Return architecture-specific function
Deflate->>FuncTable: Request quick deflation
FuncTable->>Arch: Call selected implementation
Arch-->>Deflate: Return compression result
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (13)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
|
Closing. After refining my benchmark, it showed little to no improvement after all and a 2K library size increase. DEVELOPPR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1847 +/- ##
===========================================
- Coverage 82.19% 81.64% -0.55%
===========================================
Files 138 129 -9
Lines 10985 10433 -552
Branches 2695 2716 +21
===========================================
- Hits 9029 8518 -511
+ Misses 1261 1234 -27
+ Partials 695 681 -14 ☔ View full report in Codecov by Sentry. |
Summary by CodeRabbit
Release Notes
New Features
Performance Improvements
Technical Updates