curl-library
Re: Info request about the zero copy interface (2)
Date: Mon, 5 Dec 2005 20:58:35 +0100 (CET)
On Mon, 5 Dec 2005, Legolas wrote:
> A great idea would be instead to provide an almost-zero copy interface. I
> will attach A.S.A.P. a pseudo source snippet, but don't try to take it apart
> looking for a zero copy interface: for a *real* zero copy interface a major
> effort is needed.
I think we can design an interface now that allows for a pretty good zero-copy
interface, but it doesn't have to mean that libcurl would take full advantage
of every aspect of the zero-copy from day 1. I agree that we don't have to
overdo it: just start with a simple plain approach and expand it later if/when
we feel the need and have the energy for it.
Given the nature of libcurl, as very portable, on top of the transport layer
and using a whole range of 3rd party libraries, we will of course have to live
with a number of copies no matter how hard we try.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-12-05