On 05/20/2011 11:28 AM, Dmitry Stogov wrote:
The bench.php gets more than 10% speedup (2.5 sec instead of 2.9 sec) Real-life applications are not affected. All the PHPT tests are passed.
I chatted with Kore Nordmann, the creator of Image_3D (raytracer written in PHP) and ezcGraph (chart component in the Zeta Components library) last night. His code will definitely benefit from these improvements. Another performance improvement with regards to math functionality in PHP could be compiling math functions such as abs() into specialized opcodes thus alleviating the function call overhead that is otherwise incurred. Kore mentioned, for example, that Xdebug and KCacheGrind currently show that most time is spent in several hundred thousand calls to abs() while running the component's test suite. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php