This is a discussion on Number of Files in PHP Library within the PHP Language forums, part of the PHP Programming Forums category; Hi, PHP allows the "library" which can contain an arbitrary number of include files. Can I put all ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
PHP allows the "library" which can contain an arbitrary number of include files. Can I put all the include files right in this directory, or should I create subdirectories? My question comes about because I understand that *nix systems begin to run into performance difficulties at around 200 files in a directory (linear search times for a directory). Has anyone had experience with a large number of include files in a single directory? How many? Did it seem to affect performance? Thanks, Dave Ashley. |
|
|||
|
David T. Ashley <dashley@cequentgroup.com> wrote:
> My question comes about because I understand that *nix systems begin to run > into performance difficulties at around 200 files in a directory (linear > search times for a directory). This statement is both false as correct. There are *nix filesystems which do re linear, there are also fs which use btrees: O(log n) worstcase. So what system are you php running on? -- Daniel Tryba |