ndr: mark invalid pull ndr_flags as unlikely
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 29 Dec 2023 02:27:08 +0000 (15:27 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Feb 2024 02:48:44 +0000 (02:48 +0000)
commit4face258dee93dcd01dce71fcb7448b285ff4860
treeaad3e0188b475c41763271138406ee151092e572
parentc2673b02a7a51761e8b6631eb0c0e7062cbbed7b
ndr: mark invalid pull ndr_flags as unlikely

This might have little effect, but sometimes we see primatives like
ndr_pull_uint32() taking a few percent of the CPU time, and this is in
all those functions.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15574
librpc/ndr/libndr.h