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

Re: Some WC improvements

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-08-02 12:29:17 CEST

On Monday 01 August 2005 06:57, C. Michael Pilato wrote:
> John Szakmeister <john@szakmeister.net> writes:
> > > We put emtpy-file in there because IIRC it was shown that creating it
> > > for every diff did have a significant impact on speed. It might be that
> > > "it was shown" incorrectly; but if it wasn't, it certainly makes no
> > > sense to have one such file per .svn directory.
> >
> > Why not use an empty or null stream instead? It looks like the file
> > handles are being converted to stream object anyways.
>
> External diff?

Actually, what about using SVN_NULL_DEVICE_NAME for the "empty file"? It's
currently being opened for use as stdin when running some hook scripts. Just
a thought.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 2 12:30:14 2005

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.