Re: Code Bulk
| From: | Steve Clay | Date: | Wed, 27 Mar 2002 05:14:25 +0000 |
| Subject: | Re: Code Bulk | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90317@lists.php.net to get a copy of this message | ||
GS> <?php
GS> echo 'Finished';
?>>
I can do one better:
... ?>Finished<?php ...
Seriously, I think he's right to think parsing 3000 lines with *every*
call will be less than ideal. He should use include() conditionally
to grab only the necessary code, but only to an extent. Then you
start adding your server's filesystem performance into the equation,
but if the server's decent it should have those cached or something -
It should at least be able to pull them faster than PHP could
interpret them.
Short answer: less to interpret = less time
Steve
--
steve@mrclay.org ** http://mrclay.org