subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <danie...@elego.de>
Subject Re: svn commit: r1233566 - in /subversion/trunk/subversion: include/svn_io.h libsvn_subr/stream.c
Date Fri, 20 Jan 2012 02:40:44 GMT
hwright@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

Mime
View raw message