Aucbvax.3266
fa.unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Tue Sep 22 18:55:30 1981
Re: speed of 'ls -l'
>From decvax!duke!unc!smb@Berkeley Tue Sep 22 15:33:24 1981
It occurs to me that your first suggestion -- remembering where your
search left off -- will lose badly on frequently accessed files in a
directory, as it will always have to search the whole thing.  It also
means that one can't optimize, say, /bin, by moving stuff in in a set
order.

Your second suggestion -- sorting directory entries by i-number -- isn't
too hard to implement if you do it a block at a time.

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.