Property access slowness
| From: | Sterling Hughes | Date: | Sat, 24 May 2003 16:15:26 +0000 |
| Subject: | Property access slowness | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-1970@lists.php.net to get a copy of this message | ||
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.
Can/Should this be moved to zend_compile.c for everything that doesn't
rely on indirect reference?
-Sterling
--
"Programming today is a race between software engineers stirring to
build bigger and better idiot-proof programs, and the universe trying
to produce bigger and better idiots. So far, the universe is winning."
- Unknown