[PATCH] talloc: Tune talloc_vasprintf

Stefan (metze) Metzmacher metze at samba.org
Thu May 15 02:17:02 MDT 2014


Hi Volker,

> A patch from my attic: In some profiles vsnprintf showed up
> high from talloc_asprintf. This cuts vsnprintf use in
> talloc_asprintf by half in most cases.
> 
> Review would be appreciated!

Do you think it would make sense to use PATH_MAX instead of 1024?

In any case Reviewed-by: Stefan Metzmacher <metze at samba.org>

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140515/505de2b4/attachment.pgp>


More information about the samba-technical mailing list