Optimization
| From: | LIMBOURG Arnaud | Date: | Wed, 26 Sep 2001 07:18:29 +0000 |
| Subject: | Optimization | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-325@lists.php.net to get a copy of this message | ||
Just a little thought but using
$var = "dummy"; is slightly slower then $var = 'dummy'; since there is no
parsing needed
So why don't you use it in Pear stuff like for pear-prepend.php
$format = "xmlrpc"; is not the most efficient.
I agree this is quite marginal but when you ua have a 20 Ko script loading
20 Ko of Pear plus Db plus a 43 Ko template class, every little bit counts
;))
Arnaud.