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

Re: OT: Long path names in windows

From: Andy Whitcroft <apw_at_shadowen.org>
Date: 2004-10-28 10:40:18 CEST

Henderson, Michael D wrote:
> Completely off topic, but what's the trade-off between absolute and
> relative paths? Is it extra calls to stat() or are '.' and '..' just
> faster because they're stored at the beginning of the directory entry?

The point of relative paths is not to do with '.' and '..' but todo with
where they are anchored. The kernel maintains two pointers into the
directory hiearachy per thread. One for '/' and one for you CWD. Its a
matter of how many lookups have to be done to get from your chosen
starting point (root or cwd) and the file you reference. Also on the
contention on the structures which represent them. Basically / is
further from most everywhere, and has far more people using it.

-apw

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 28 10:41:36 2004

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.