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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 30 22:19:09 UTC 2016


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

--- Comment #30 from Jose Aliste <jose.aliste at gmail.com> ---
(In reply to Adrian Johnson from comment #29)
> 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.

I agree. I will try to find and fix that evince bug to see if the hashtable
actually helps :)

-- 
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/883a92e0/attachment.html>


More information about the Poppler-bugs mailing list