[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: APR question

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-09-09 01:23:57 CEST

On Fri, Sep 08, 2000 at 03:59:15PM -0500, Karl Fogel wrote:
> Greg Stein <gstein@lyra.org> writes:
> > Not sure I understand. You would write a function which used APR to do the
> > read/write. Or are you asking whether APR "should" have a copy function?
>
> The latter. Sure I can write a read/write loop, but I would think
> that some systems might provide faster ways to do it (i.e., using
> fancy block sizes during the copy that make everything happen
> lightning quick... or is that just wishful thinking, and most Unix
> cp's are just a standard read/write loop anyway?)

Why don't you write a function and I'll check it into APR? The other OS's
could then optimize at will. If you want to write the function somewhere in
SVN, then I'll just copy/port it over to the right place (with the
appropriate APR framework's magic pixie dust).

Good call -- this would be a good addition to APR.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:08 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.