Re: Weird PhD optimizations (10% !)
| From: | Moacir de Oliveira | Date: | Thu, 26 May 2011 02:40:54 +0000 |
| Subject: | Re: Weird PhD optimizations (10% !) | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969382708@lists.php.net to get a copy of this message | ||
hey,
Em 25 de maio de 2011 07:48, Hannes Magnusson
<hannes.magnusson@gmail.com>escreveu:
>
> The biggest gain with replace it with literals is the lowercasing of
> the classname, class lookup, and the hash lookup.
> Unsure how much we would gain with defines.. a blindfaith guess would
> be 2-3% less.
>
I think we should try the defines, using that literals everywhere would be
really annoying :).
--Moacir de Oliveira