bind9/bin/plugins
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
..
filter-a.c Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
filter-a.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
filter-aaaa.c Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
filter-aaaa.rst clean up some deprecated/obsolete options and doc 2023-02-10 09:52:27 -08:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00