svn commit: samba r19412 - in branches/SAMBA_4_0/source/lib/talloc:
.
tridge at samba.org
tridge at samba.org
Thu Oct 19 10:02:27 GMT 2006
Author: tridge
Date: 2006-10-19 10:02:26 +0000 (Thu, 19 Oct 2006)
New Revision: 19412
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19412
Log:
some rather strange looking changes to talloc that gain us about 50%
in the talloc benchmark. These changes were driven by some cachegrind
profiles, with the biggest improvements coming from inlining some
functions.
I don't think it would be a good idea to start spreading inline and
likely()/unlikely() in other parts of Samba, as the benefit in most
code will be very small, but talloc() is such a speed critical part of
Samba that I think these changes are worthwhile
Modified:
branches/SAMBA_4_0/source/lib/talloc/talloc.c
Changeset:
Sorry, the patch is too large (855 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19412
More information about the samba-cvs
mailing list