On Tue, Apr 23, 2013 at 5:04 PM, <phi...@apache.org> wrote: > Author: philip > Date: Tue Apr 23 13:04:42 2013 > New Revision: 1470936 > > URL: http://svn.apache.org/r1470936 > Log: > Significantly reduce the number of open files during a typical update > over ra_serf by using lazy-opening streams to delay opening until the > HTTP response is received. This changes the new-in-1.8 lazy-open API. > [...]
> --- subversion/trunk/subversion/libsvn_wc/update_editor.c (original) > +++ subversion/trunk/subversion/libsvn_wc/update_editor.c Tue Apr 23 13:04:42 > 2013 > @@ -3525,6 +3525,46 @@ open_file(const char *path, > return SVN_NO_ERROR; > } > [...] > + tb = apr_palloc(handler_pool, sizeof(struct lazy_target_baton)); apr_pcalloc() ? Otherwise it looks like needless premature optimization. -- Ivan Zhakov CTO | VisualSVN | http://www.visualsvn.com