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

Traversing named destinations is very slow #119

Open
GoogleCodeExporter opened this issue Apr 10, 2015 · 1 comment
Open

Traversing named destinations is very slow #119

GoogleCodeExporter opened this issue Apr 10, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

We started using the FPDF_GetNamedDest API to retrieve a list of all the named 
destinations. Unfortunately the API seems to be very slow. The PDF here has 
~80,000 named destinations however traversing the list of them takes 
approximately 40 seconds on my machine using FPDF_GetNamedDest.  It seems like 
there could be an >=N^2 algorithm happening under the covers.

Original issue reported on code.google.com by [email protected] on 11 Feb 2015 at 6:45

@GoogleCodeExporter
Copy link
Author

No kidding.  There are a couple of places these can come from, and at least one 
of them is, uh:

https://code.google.com/p/chromium/codesearch#chromium/src/third_party/pdfium/fp
dfsdk/src/fpdfview.cpp&rcl=1425286324&l=842


Original comment by [email protected] on 2 Mar 2015 at 7:30

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

No branches or pull requests

1 participant