]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the cyclic ordering to be more efficient
authorOndřej Surý <ondrej@sury.org>
Thu, 28 Aug 2025 13:29:44 +0000 (15:29 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 8 Sep 2025 12:04:13 +0000 (14:04 +0200)
commitb3f5c3b0fc6d3abe73887b8086da954df7a7e708
tree6258d8ce2050459e181e347b1b16125e6b2c9f6f
parent7dc6048f9372e7b9781aae36637c9210ce561161
Refactor the cyclic ordering to be more efficient

With random ordering removed, the cyclic ordering can be rewritten in a
that it uses thread_local static array to keep the cyclic order.

This could be further improved by keeping the current position inside
the slabheader and adding a function to start directly there instead at
dns_rdataset_first().
lib/dns/rdataset.c