<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Enumerate PDF named destinations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97262#c30">Comment # 30</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Enumerate PDF named destinations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97262">bug 97262</a>
from <span class="vcard"><a class="email" href="mailto:jose.aliste@gmail.com" title="Jose Aliste <jose.aliste@gmail.com>"> <span class="fn">Jose Aliste</span></a>
</span></b>
<pre>(In reply to Adrian Johnson from <a href="show_bug.cgi?id=97262#c29">comment #29</a>)
<span class="quote">> 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.</span >
I agree. I will try to find and fix that evince bug to see if the hashtable
actually helps :)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>