]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Small optimization in the Rings unit tests 15433/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 15 Apr 2025 08:57:57 +0000 (10:57 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 15 Apr 2025 08:57:57 +0000 (10:57 +0200)
commiteb25ff532badc0b4d6c688dc71e9e4b830762379
tree8c2a0cf52cdd8208111448f53edc336046a69c94
parent732655a31dd81bc36863a974725380644ac2a550
dnsdist: Small optimization in the Rings unit tests

Calling `BOOST_CHECK_*` is quite expensive, so this commit limits
the number of these calls done in a tight loop.
pdns/dnsdistdist/test-dnsdistrings_cc.cc