Skip to content

SEC: Improve the performance of the ASCIIHexDecode filter#3666

Merged
stefan6419846 merged 2 commits intopy-pdf:mainfrom
stefan6419846:ascii-performance
Mar 2, 2026
Merged

SEC: Improve the performance of the ASCIIHexDecode filter#3666
stefan6419846 merged 2 commits intopy-pdf:mainfrom
stefan6419846:ascii-performance

Conversation

@stefan6419846
Copy link
Collaborator

This now avoids manual parsing completely and relies on built-in functionality. Tests have shown that this drastically improves performance.

This now avoids manual parsing completely and relies on built-in
functionality. Tests have shown that this drastically improves
performance.
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.36%. Comparing base (1aef6fb) to head (c380f8d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3666      +/-   ##
==========================================
- Coverage   97.36%   97.36%   -0.01%     
==========================================
  Files          55       55              
  Lines        9937     9925      -12     
  Branches     1820     1817       -3     
==========================================
- Hits         9675     9663      -12     
  Misses        152      152              
  Partials      110      110              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stefan6419846 stefan6419846 merged commit 648c627 into py-pdf:main Mar 2, 2026
18 checks passed
@stefan6419846 stefan6419846 deleted the ascii-performance branch March 2, 2026 09:01
stefan6419846 added a commit that referenced this pull request Mar 2, 2026
## What's new

### Security (SEC)
- Improve the performance of the ASCIIHexDecode filter (#3666) by @stefan6419846

[Full Changelog](6.7.4...6.7.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant