hwri...@apache.org wrote on Thu, Jan 19, 2012 at 20:56:35 -0000:
> Author: hwright
> Date: Thu Jan 19 20:56:35 2012
> New Revision: 1233566
> 
> URL: http://svn.apache.org/viewvc?rev=1233566&view=rev
> Log:
> Add a public wrapper around our spillbuf-backed stream.
> 
> * subversion/include/svn_io.h
>   (svn_stream_buffered): New.
> 
> * subversion/libsvn_subr/stream.c
>   (svn_stream_buffered): New.

So, with this change, exported files of up to 100kB in size will be
processed in-memory, without being written to disk twice.  Nice. :-)

I do wonder if the "to disk" threshold should be in the public
signature, but don't have offhand a use-case justifying that.

Thanks,

Daniel

Reply via email to