]> granicus.if.org Git - pdns/commit
now this is a fun commit. Turns out each DNSRecordContent was dragging along a (wrong...
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 4 Nov 2015 09:27:21 +0000 (10:27 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 4 Nov 2015 10:02:43 +0000 (11:02 +0100)
commit1ca162f5f6fc5a762d32d9d14eaf4f8bc4fd145b
treec32841f76e69bcd11d8cd9ba04d04dd3334066e3
parentf49fc2687f30f2d0bdc0245a3db95e22efc7f4ba
now this is a fun commit. Turns out each DNSRecordContent was dragging along a (wrong) label field and a whole copy of a dnsheader.
sizeof has been reduced by 24 bytes now. Does not actually save a lot of memory because of malloc overhead. Does appear to save CPU.
pdns/dnsparser.cc
pdns/dnsparser.hh