]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Remove the useless separate entries counter from the cache
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Mar 2021 17:08:17 +0000 (18:08 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Mar 2021 17:08:17 +0000 (18:08 +0100)
commit5106174f8ad118ddfc06f0f2dfc4d185ffee711a
treeb668c16c49a9ca651a93e4131502f63cfa49314a
parentc9134a29ae582dac6c32922272c467ef05706393
dnsdist: Remove the useless separate entries counter from the cache

Getting the size of the map is a constant-time operation and should
be as accurate so let's just use that.
pdns/dnsdist-cache.cc
pdns/dnsdist-cache.hh