Re: About optimization

From: Date: Wed, 13 Jan 2010 11:33:44 +0000
Subject: Re: About optimization
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-46680@lists.php.net to get a copy of this message
Am 13.01.2010 12:18, schrieb mathieu.suen:
> I would like to know why the opcode is not optimized.

 Because any optimization, even very simple ones, impose a performance
 penalty in the default execution model of PHP which does not use a
 bytecode cache.

 Only when the bytecode is not regenerated for each execution does it
 make sense to invest for time for the then one-time compilation.

-- 
Sebastian Bergmann                    Co-Founder and Principal Consultant
http://sebastian-bergmann.de/                          
http://thePHP.cc/



Thread (42 messages)

« previous php.internals (#46680) next »