Re: Standard constants as part of the lexer
| From: | Sebastian Bergmann | Date: | Mon, 20 Jun 2011 11:05:43 +0000 |
| Subject: | Re: Standard constants as part of the lexer | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53379@lists.php.net to get a copy of this message | ||
Am 20.06.2011 13:00, schrieb Derick Rethans:
> Although it's a nice performance increase, I think that breaking
> count() as a method name is not a good idea, as I would assume it's
> used a lot. Even though count() and strlen() can be optimised that much,
> how much does it buy a fully fledged application?
Especially since we have a built-in Countable interface that requires
the implementation of a count() method.
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/
http://thePHP.cc/