bind9/tests
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
..
bench Convert the isc/tid.h to use own signed integer isc_tid_t type 2025-06-28 13:32:12 +02:00
dns Use regular reference counting macro for isc_nm_t structure 2025-07-09 21:22:48 +02:00
include/tests Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
isc Use regular reference counting macro for isc_nm_t structure 2025-07-09 21:22:48 +02:00
isccfg replace the build system with meson 2025-06-11 10:30:12 +03:00
libtest Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
ns Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00