[PATCHES] remove unnecessary calls to str_list_length
Andreas Schneider
asn at samba.org
Tue May 10 09:58:44 UTC 2016
On Friday, May 06, 2016 03:48:26 PM Douglas Bagnall wrote:
> Provision was spending a noticeable portion of its time in this
> function, which has walk the length of a char** list. In some places
> the caller doesn't care about the length and just wants to know if it
> is non-zero. In others it is going to walk the list anyway, repeating
> the same work.
>
> I don't have any numbers to say whether this is actually quicker.
>
> Douglas
RB+
Please push!
Thanks :)
More information about the samba-technical
mailing list