RE: [PEAR-DEV] IT[X] unstable - why?
| From: | Marc Boeren | Date: | Wed, 06 Mar 2002 14:33:14 +0000 |
| Subject: | RE: [PEAR-DEV] IT[X] unstable - why? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-4921@lists.php.net to get a copy of this message | ||
> The performance killer of todays PHP is:
>
> include("code.php");
>
> Source compilation is slow compared to script runtime. Having a
> include("tons_of_code_only_partly_required.php") is a bad idea.
Are you saying that the include() is a performance killer, or the fact that
a lot of code is automatically included (and thus compiled)?
In other words, is
include('small_file_with_some_functions.php');
include('another_small_file_with_some_orther_functions.php');
include('yet_another_small_file_with_a_different_function.php');
better (if optimized per including file, of course) than
include('large_file_with_all_the_functions.php');
or is it the other way around?
Cheerio, Marc.