bind9/bin
Alessio Podda e84704bd55 Improve efficiency of ns_client_t reset
The ns_client_t struct is reset and zero-ed out on every query,
but some fields (query, message, manager) are preserved.

We observe two things:
 - The sendbuf field is going to be overwritten anyway, there's
   no need to zero it out.
 - The fields are copied out when the struct is zero-ed out, and
   then copied back in. For the query field (which is 896 bytes)
   this is very inefficient.

This commit makes the reset more efficient avoiding to unnecessary
zero-ing and copy.
2025-07-10 07:19:47 +02:00
..
check replace the build system with meson 2025-06-11 10:30:12 +03:00
confgen replace the build system with meson 2025-06-11 10:30:12 +03:00
delv Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
dig Add "undefined" to +ednsflags description 2025-06-13 07:50:16 +00:00
dnssec Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
named Fix the default interface-interval docs and default value 2025-07-01 11:19:57 +02:00
nsupdate replace the build system with meson 2025-06-11 10:30:12 +03:00
plugins Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
rndc Drop empty directory bin/rndc/include/ 2025-06-24 12:38:37 +00:00
tests Use native shared library extension 2025-07-07 23:39:44 +10:00
tools load the journal file if it already exists 2025-06-13 21:20:13 -07:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00