From 72849e12ec244eed0cf007534c2a23aacd70d336 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Mon, 22 Feb 2016 15:26:55 +0100 Subject: [PATCH] we used toString() to compare incoming packets - showed up in profile at 3% or so --- pdns/syncres.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/syncres.hh b/pdns/syncres.hh index 5ed097e9e..e86d0d85d 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; -- 2.40.0