[EMAIL PROTECTED] (Gregory S. Stark) wrote on 15.04.98 in <[EMAIL PROTECTED]>:
> Opening files in a large directory can be extremely inefficient in many Unix > varieties. The kernel has to do a linear search for each the file. Linux 2.1 > should be faster because of the dentry stuff, but even so it would be more > efficient to use a directory for each package with the various control files > inside. That doesn't make that much difference. It's really the huge number of packages that bites us, not the number of files per package. One way to improve this would be copying the terminfo system, that is, putting every file in a subdirectory that's just the first letter of the filename. That reduces info to 26 subdirectories, each of which has a lot less files than info has today. There are other ways to do it, of course. MfG Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]