diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-27 17:41:19 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-27 20:19:17 +0100 |
commit | ee8212472d29a5a23011d0331ad693494dcd1034 (patch) | |
tree | 0314075c85c161638bbaa7d2f8e593d6aaf8aa81 /source3/include/ads.h | |
parent | 5413ad4aca69245c575b621db33b61eae5db4a35 (diff) | |
download | samba-ee8212472d29a5a23011d0331ad693494dcd1034.tar.gz samba-ee8212472d29a5a23011d0331ad693494dcd1034.tar.bz2 samba-ee8212472d29a5a23011d0331ad693494dcd1034.zip |
Wrap the DEBUG checks in a "unlikely"
On my Laptop with some limited netbench runs this gains about 1.5% of
performance. When looking at the assembler output I would suspect the biggest
gain is by the fact that with this in place the calls to the debug functions is
moved to the function end, out of the way of the normal code paths. valgrind
tests pending I would suspect this to be much more cache friendly.
Comments?
Volker
(This used to be commit 51448a9dca95de9d35dd8eea68fde2554cb69921)
Diffstat (limited to 'source3/include/ads.h')
0 files changed, 0 insertions, 0 deletions