On 09.07.2009, at 02:28, troels knak-nielsen wrote:

On Thu, Jul 9, 2009 at 2:15 AM, Mark<mark...@gmail.com> wrote:
I personally would be highly in favor of adding type hinting/casting
BUT with the benifit that php actually becomes faster if you do things
like that. Afterall you can use way more effective c code if you know
what you expect right? As for the version to include type

I sure hope that all the people in favour of this change aren't basing
their opinion on some delusion that it would improve performance in
any way.


well .. this will have an effect on performance.
for one the additional checks will probably add a small overhead for all users. the reduction in user land type check code should of course improve performance.

that being said, none of the above will have a significant relevant affect on performance in real world applications (which usually spend most of their time talking to data stores and not type checking).

regards,
Lukas Kahwe Smith
m...@pooteeweet.org




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to