efficient rpc io using vstr

Martin Pool mbp at samba.org
Tue Jan 20 09:04:29 GMT 2004


On 20 Jan 2004, Michael B Allen <mba2000 at ioplex.com> wrote:

> I beleive your talloc code serves the same purpose? Can talloc use stack
> memory?

Not as far as I know.

> Anyway the point is, if you're going to make a lot of copies of stuff you
> might as well use a tempory allocator. Suba is ~20% faster than
> malloc.

Which malloc, measured how?

-- 
Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20040120/81b132d4/attachment.bin


More information about the samba-technical mailing list