From: bert hubert Date: Mon, 22 Feb 2016 14:26:55 +0000 (+0100) Subject: we used toString() to compare incoming packets - showed up in profile at 3% or so X-Git-Tag: auth-4.0.0-alpha2~6^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72849e12ec244eed0cf007534c2a23aacd70d336;p=thirdparty%2Fpdns.git we used toString() to compare incoming packets - showed up in profile at 3% or so --- diff --git a/pdns/syncres.hh b/pdns/syncres.hh index 5ed097e9eb..e86d0d85d9 100644 --- a/pdns/syncres.hh +++ b/pdns/syncres.hh @@ -554,7 +554,7 @@ struct PacketIDBirthdayCompare: public std::binary_function tie(b.remote, bSock, b.type)) return false; - return pdns_ilexicographical_compare(a.domain.toString(), b.domain.toString()); // FIXME400 + return a.domain < b.domain; } }; extern __thread MemRecursorCache* t_RC;