[PATCH] avoid calling casefold_internal if the dn is already casefolded
mat at samba.org
Tue Dec 11 23:23:12 MST 2012
Can someone review this patch ?
It comes from analysis of indexed ldb_search with scope = one or subtree.
For each entries in the index we will compare the dn in the index to dn
specified as base for the search. And we keep casefolding the later one
which is useless and costly.
With a hundreds of entries in the index the cost of cost folding is
starting to be one of the most important one. With this patch we can
avoid useless calls.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2141 bytes
Desc: not available
More information about the samba-technical