Re: before beta 2

From: Date: Tue, 01 Jul 2003 22:59:25 +0000
Subject: Re: before beta 2
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-3127@lists.php.net to get a copy of this message
Hello Marcus, Monday, June 30, 2003, 2:28:35 AM, you wrote: MB> - Include SPL (forach/array hooking). I tested the current patch: http://marcus-boerger.de/php/ext/ze2/ze2-spl-20030701.diff.tgz and profiled it again. What i did (in case someone doesn't know yet) was to read 10 rows of three columns from a sqlite database 10 times. Further more profiled a 'php -h' call and substracted that timing. So i only have the looping and some very little overhead. Using a normal for loop (minus php -h) is used for 100%. Then i did the same with sqlite_array_query() and got 87%. Then i did it with spl-forach hooking and got 57%. Wow that's nearly 2 times faster... -- Best regards, Marcus mailto:helly@php.net

« previous php.internals (#3127) next »