Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 00:37:31 +0100
From:      void <float@firedrake.org>
To:        "Andresen,Jason R." <jandrese@mitre.org>
Cc:        Terry Lambert <tlambert2@mindspring.com>, Nadav Eiron <nadav@cs.Technion.AC.IL>, hackers@FreeBSD.ORG
Subject:   Re: technical comparison
Message-ID:  <20010524003731.B25053@firedrake.org>
In-Reply-To: <20010523091618.P87127-100000@nausicaa.mitre.org>; from jandrese@mitre.org on Wed, May 23, 2001 at 09:20:51AM -0400
References:  <3B0B2824.949B119A@mindspring.com> <20010523091618.P87127-100000@nausicaa.mitre.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 23, 2001 at 09:20:51AM -0400, Andresen,Jason R. wrote:
> 
> Why is knowing the file names cheating?  It is almost certain
> that the application will know the names of it's own files
> (and won't be grepping the entire directory every time it
> needs to find a file).

With 60,000 files, that would have the application duplicating
60,000 pieces of information that are stored by the operating system.
Operations like open() and unlink() still have to search the directory
to get the inode, so there isn't much incentive for an application to
do that, I think.

-- 
 Ben

"An art scene of delight
 I created this to be ..."		-- Sun Ra

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010524003731.B25053>