<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#c29">Comment # 29</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:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
        <pre>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.</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>