Hi all.
During the RFC doscussion today, the question popped up how the performance of
creating closures compares to creating objects. This is particularly relevant
for closures/objects created by bootstrap code which is always executed, e.g.
when registering with a CI framework.
Attached is a
Apperently the attached file got stripped when posting to the list.
Here's a link:
http://brightbyte.de/repos/codebin/ClosureBenchmark.php?view=1
Here is the code inlined:
?php
function timeClosures( $n ) {
$start = microtime( true );
for ( $i = 0; $i $n; $i++ ) {
On Thu, Sep 11, 2014 at 1:02 AM, Daniel Kinzler dan...@brightbyte.de
wrote:
Hi all.
During the RFC doscussion today, the question popped up how the
performance of
creating closures compares to creating objects. This is particularly
relevant
for closures/objects created by bootstrap code