Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

Performance Issue Opening Very Large PDFs #184

Open
legistek opened this issue Dec 24, 2018 · 0 comments
Open

Performance Issue Opening Very Large PDFs #184

legistek opened this issue Dec 24, 2018 · 0 comments

Comments

@legistek
Copy link

Opening very large (1000s of pages) PDFs seems very slow. I traced it to PdfFile.GetPDFDocInfo which is retrieving the page info for every page before returning. I wonder if a better solution might be to lazily retrieve (and then store for future use) the page info for each page as needed. It should just be a matter of a custom IList<T> implementation for the PdfDocument.PageSizes property. Thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant