bind9/tests/libtest
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.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
isc.c Use regular reference counting macro for isc_nm_t structure 2025-07-09 21:22:48 +02:00
ns.c Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
qp.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00