bind9/lib/isc/include
Artem Boldariev 94e650ce89 Use 'restrict' and 'const' for 'isc_buffer_t'
The purpose of this commit is to aid compiler in generating better
code when working with `isc_buffer_t` objects by using restricted
pointers (and, to a lesser extent, 'const' modifier for read-only
arguments).

This way we, basically, instruct the compiler that the members of
structured passed by pointers into the functions can be treated as
local variables in the scope of a function. That should reduce the
number of load/store operations emitted by compilers when accessing
objects (e.g. 'isc_buffer_t') via pointers.
2022-12-20 21:01:27 +02:00
..
isc Use 'restrict' and 'const' for 'isc_buffer_t' 2022-12-20 21:01:27 +02:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00