From 9dfab41ca6fc75496881c3afcb9565b3933e4448 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 26 May 2015 13:08:40 +0200 Subject: [PATCH] Shrink PacketCache::CacheEntry from 56 to 48 bytes --- pdns/packetcache.hh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pdns/packetcache.hh b/pdns/packetcache.hh index 758da9c82..33bec4916 100644 --- a/pdns/packetcache.hh +++ b/pdns/packetcache.hh @@ -78,16 +78,18 @@ private: CacheEntry() { qtype = ctype = 0; zoneID = -1; meritsRecursion=false; dnssecOk=false; hasEDNS=false;} string qname; + string value; + time_t created; + time_t ttd; + uint16_t qtype; uint16_t ctype; int zoneID; - time_t created; - time_t ttd; - bool meritsRecursion; unsigned int maxReplyLen; + + bool meritsRecursion; bool dnssecOk; bool hasEDNS; - string value; }; void getTTLS(); -- 2.40.0