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

Re: A proposed solution for svn admin directory names

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-06-29 19:35:26 CEST

On Wed, 2005-06-29 at 17:22 +0100, Philip Martin wrote:
> Calling getenv() that often is horrible.

I think if we're going to reject this solution on the basis of
performance, the burden is on us to measure a performance penalty.
getenv() does do a linear search, but it's a memory operation and the
environment almost always fits into L1 cache. I bet you won't be able
to tell the difference.

The other objections raised (environment variables aren't our preferred
method of configuration, and we'd be breaking source compatibility) are
more serious, though.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 29 19:39:04 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.