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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to