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

Improve performance on large pdfs #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OpenGLShaders
Copy link

Replacing all(... with simple ands cuts time to 1/3 of what it took before.

Found this after profiling on a pdf that required ~32m of these comparisons

Replacing `all(...` with simple ands cuts time to 1/3 of what it took before.

Found this after profiling on a pdf that required ~32m of these comparisons
@OpenGLShaders
Copy link
Author

@jcushman Don't think the test failure is related to my change, but more so a python3.6/7 thing.

Would you want me to update tests so it passes or is there a better solution?

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