From: Pieter Lexis Date: Tue, 26 May 2015 11:08:40 +0000 (+0200) Subject: Shrink PacketCache::CacheEntry from 56 to 48 bytes X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~77^2~4^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dfab41ca6fc75496881c3afcb9565b3933e4448;p=pdns Shrink PacketCache::CacheEntry from 56 to 48 bytes --- 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();