in reply to Which is better - one large file or multiple files?
Many files makes for cleaner development, and gives you the option of dividing one CGI into many, each of which loads far less data.
My rule of thumb is that by the time it is big enough for the performance difference between one and many files to matter, the performance advantage of having many files so that you don't load it all at once wins. And if loading time is a problem, then you should probably be using mod_perl...
UPDATE
An incidental note. A vague memory is telling me that
you might have issues with misplaced line-numbers if you
have more than 64K lines in a single source file. That is
another reason to use multiple files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 1: Which is better - one large file or multiple files?
by George_Sherston (Vicar) on Aug 10, 2001 at 04:23 UTC | |
by tilly (Archbishop) on Aug 10, 2001 at 04:59 UTC |