]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
r13986@catbus: nickm | 2007-07-29 09:15:03 -0400
authorNick Mathewson <nickm@torproject.org>
Sun, 29 Jul 2007 13:18:52 +0000 (13:18 +0000)
committerNick Mathewson <nickm@torproject.org>
Sun, 29 Jul 2007 13:18:52 +0000 (13:18 +0000)
 Answer comment from Roger.

svn:r10971

src/or/dirserv.c

index d596f8923a76f75c46c2c25b1b88fc993dd55c53..72e1694db68790f28aac29044cc8a4ee17806837 100644 (file)
@@ -1739,6 +1739,9 @@ _compare_routerinfo_by_ip_and_bw(const void **a, const void **b)
 
   /* XXX020 k n lg n memcmps could show up bigtime in profiling. If
    * they do, I suggest we just give authorities a free pass. -RD */
+  /* I think we're fine.  Remember, in nearly all cases, the addresses
+   * will be different and we'll never actually reach this point. -NM */
+
   first_is_auth =
     router_digest_is_trusted_dir(first->cache_info.identity_digest);
   second_is_auth =