[Poppler-bugs] [Bug 97262] Enumerate PDF named destinations

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 30 22:16:35 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97262

--- Comment #29 from Adrian Johnson <ajohnson at redneon.com> ---
find_dest is O(log(n))

I think just returning a list of names would be a cleaner API. It avoids the
overhead of parsing and creating the link dest for each name if it is not
required. And even if it is required it reduces peak memory usage if the
application can create and destroy each link dest sequentially instead of
filling memory with every link. We could always add the hash table later if
someone finds a use case for it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160830/90a870d5/attachment.html>


More information about the Poppler-bugs mailing list