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

Re: svn commit: r1233566 - in /subversion/trunk/subversion: include/svn_io.h libsvn_subr/stream.c

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Fri, 20 Jan 2012 04:40:44 +0200

hwright_at_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
Received on 2012-01-20 03:41:42 CET

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.