]> 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 09:27:21 +0000 (10:27 +0100)
commit9de51f6ff0ce9b893a1d83af0e7274fe3bcb4be6
tree886e6a1821a9435cda3019453c5a510328348f72
parentdda1a5b150aa26f2229e20fddcd33a6932b99d48
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