Re: Re: Property access slowness

From: Date: Sun, 25 May 2003 11:05:51 +0000
Subject: Re: Re: Property access slowness
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1979@lists.php.net to get a copy of this message
Sorry for commenting & not looking at the code, but do you flag a class as having any ppp in it, and do that check first.. - so at least non-ppp code will be slightly faster...? Zeev Suraski wrote:
At 19:15 24.05.2003, Sterling Hughes wrote:
Hi, Property access with PHP5 is very slow compared to PHP4. The reason for this is that property access must be verified *every* time. This seems really unnecessary unless we're indirectly accessing properties.
It has to be verified each time, because we're typeless, and can't do stuff like that in compile time. It's not related to indirect reference... Zeev
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.internals (#1979) next »