From 268447b867a98892245993c686c6ce5c054eca07 Mon Sep 17 00:00:00 2001 From: Mark Zealey Date: Sat, 14 Dec 2013 23:38:09 +0200 Subject: [PATCH] Remove AnswerData.created time field as it doesn't seem to be referenced anywhere and the time() call seems to take about 1-2% of process time under high load. --- pdns/distributor.hh | 3 --- 1 file changed, 3 deletions(-) diff --git a/pdns/distributor.hh b/pdns/distributor.hh index 09187e6a65..6dd397720a 100644 --- a/pdns/distributor.hh +++ b/pdns/distributor.hh @@ -61,7 +61,6 @@ public: struct AnswerData { Answer *A; - time_t created; }; int question(Question *, void (*)(const AnswerData &)=0); //!< Submit a question to the Distributor Answer *answer(void); //!< Wait for any answer from the Distributor @@ -206,7 +205,6 @@ templatevoid *Distributorint Distributor