Skip to content

Conversation

MartinThoma
Copy link
Member

@MartinThoma MartinThoma commented Aug 20, 2023

Inspired by #2086

@MartinThoma MartinThoma added the nf-performance Non-functional change: Performance label Aug 20, 2023
@codecov
Copy link

codecov bot commented Aug 20, 2023

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.03% ⚠️

Comparison is base (3033122) 94.16% compared to head (752d226) 94.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2101      +/-   ##
==========================================
- Coverage   94.16%   94.13%   -0.03%     
==========================================
  Files          41       41              
  Lines        7385     7387       +2     
  Branches     1459     1460       +1     
==========================================
  Hits         6954     6954              
- Misses        268      269       +1     
- Partials      163      164       +1     
Files Changed Coverage Δ
pypdf/_page.py 93.44% <33.33%> (-0.22%) ⬇️

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

@MartinThoma MartinThoma requested a review from pubpub-zz August 20, 2023 08:34
@MartinThoma
Copy link
Member Author

@pubpub-zz This brings a slight performance improvement. Do you think it's a save change or is this problematic?

@pubpub-zz
Copy link
Collaborator

this change sound good to me but I'm more reserved about #2086.

@MartinThoma MartinThoma merged commit b532fa4 into main Aug 20, 2023
@MartinThoma MartinThoma deleted the reuse-content-stream branch August 20, 2023 09:51
MartinThoma added a commit that referenced this pull request Aug 20, 2023
## What's new

### Security (SEC)
-  Avoid endless recursion of reading damaged PDF file (#2093)

### Performance Improvements (PI)
-  Re-use content stream (#2101)

### Maintenance (MAINT)
-  Make ParseError inherit from PyPdfError (#2097)

[Full Changelog](3.15.1...3.15.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nf-performance Non-functional change: Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants