Skip to content
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

Eliminated duplicate processes. #255

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Conversation

bosd
Copy link
Collaborator

@bosd bosd commented Nov 2, 2024

Before this pr, each processed page got analyzid 2 times for the layout and dimensions.
This is unnessecary, as we only need to do it for PDF files we are rotating.

This is inspired on: nexus-lib#2

@bosd bosd added the performance Performance label Nov 2, 2024
@bosd bosd mentioned this pull request Nov 5, 2024
@bosd bosd merged commit 868242d into py-pdf:main Nov 9, 2024
14 checks passed
@bosd bosd deleted the improve_process_speed branch November 9, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants