RE: [PEAR-DEV] IT[X] unstable - why?
| From: | Brent Cook | Date: | Wed, 06 Mar 2002 15:06:21 +0000 |
| Subject: | RE: [PEAR-DEV] IT[X] unstable - why? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4922@lists.php.net to get a copy of this message | ||
On Wed, 6 Mar 2002, Marc Boeren wrote:
>
> > 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?
>
I think that he is saying that
<?
include ("tons_of_code_only_partly_required.php")
echo "Hello world";
?>
is bad.
I really just wanted to say hi to Ulf though. I really like the PHPDoc
tool; thanks for writing it. I tried the other two tools out there, and
yours worked the best. The code used in PHPDoc and the new OO Forms in
php-lib are both pretty inspiring. Are you still working on these things
though? Are you the guy to go to for questions or the one to send patches
to? I'm just checking for the future.
- Brent