[PATCH] Improve performance of GUID_to_ndr_blob() and similar
abartlet at samba.org
Thu Jul 28 03:14:33 UTC 2016
On Mon, 2016-07-25 at 07:55 +0200, Volker Lendecke wrote:
> On Mon, Jul 25, 2016 at 04:10:41PM +1200, Andrew Bartlett wrote:
> > Here we avoid a talloc, reduce the other from 1024 to 16 bytes and
> > avoid a talloc_steal().
> > This helps in tight loops in the AD DC ldb layers, particularly
> > during
> > DRS replication of large numbers of links. These O(N^2) loops
> > should
> > be addressed as well, but this fix will also help in many other
> > cases.
> > Then, in the other patches, avoid talloc when not required
> > elsewhere in
> > ldb extended DN parsing.
> > Please review and push.
> This looks good, but I would like to see the attached diff applied
> before it is pushed.
I've fixed that in the attached.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 320 bytes
Desc: not available
More information about the samba-technical