bind9/lib
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
..
dns Use cds_lfht for lock-free hashtables in dns_adb 2025-07-09 21:22:48 +02:00
isc Use regular reference counting macro for isc_nm_t structure 2025-07-09 21:22:48 +02:00
isccc replace the build system with meson 2025-06-11 10:30:12 +03:00
isccfg Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
ns Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00