pdfquery icon indicating copy to clipboard operation
pdfquery copied to clipboard

Improve performance on large pdfs

Open OpenGLShaders opened this issue 4 years ago • 1 comments

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 avatar Nov 16 '20 19:11 OpenGLShaders

@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?

OpenGLShaders avatar Nov 16 '20 19:11 OpenGLShaders