Re: PEAR2 Coding Standards RFC
| From: | Gregory Beaver | Date: | Thu, 06 Sep 2007 13:52:00 +0000 |
| Subject: | Re: PEAR2 Coding Standards RFC | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47928@lists.php.net to get a copy of this message | ||
Stefan Priebsch wrote:
> Lukas Kahwe Smith schrieb:
>
>> As such it would be a nice touch if we some day provide a code compiler
>> class, which would generate such single files for speed freaks, based on
>> their criteria. But its not something that I am keen to see used by the
>> masses.
>>
>
> As it seems, PHP will get a "one namespace per file" implementation.
>
Not so.
http://news.php.net/php.internals/31860
http://news.php.net/php.internals/31861
Greg
> This would make it impossible to merge code into one file when
> namespaces are used. There was a discussion about merging into a single
> file on PHP-DEV a while ago, and Rasmus said that the performance
> benefit would be neglegible when a cache (read: APC) is used
> (http://www.mail-archive.com/internals@lists.php.net/msg28982.html).
>
> There seems to be endless confusion about this. Without wanting to put
> oil near anything hot, are there any benchmarks comparing the different
> scenarios?
>
> Kind regards,
>
> Stefan
>
>