]> git.ipfire.org Git - thirdparty/pdns.git/commit
this commit uglifies DNSName escaped representation parsing for tremendous speedup... 3455/head
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 25 Feb 2016 12:03:29 +0000 (13:03 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 25 Feb 2016 12:03:29 +0000 (13:03 +0100)
commitbae1b0a23f54e56abf063e32c00cd036dfa1a0fe
tree9227b5634b5383255421e19b29537cb705458952
parent4a6b6ee95cb3976edccbfd3583d9fbb8e220e58b
this commit uglifies DNSName escaped representation parsing for tremendous speedup (2x) during bulk zone loading from disk or database.
Part of the uglification is that we now special case unescaped names, which are the vast majority of cases.
Simultaneously, this moves us back to DNSName boost::container::string on non-Apple platforms, which delivered another 15% speedup on general operations
Finally, an additional unit test is added.
pdns/dnslabeltext.rl
pdns/dnsname.cc
pdns/dnsname.hh
pdns/test-dnsname_cc.cc