Re: lua extension

From: Date: Thu, 12 Jul 2007 15:26:15 +0000
Subject: Re: lua extension
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4803@lists.php.net to get a copy of this message
Le 11 juil. 07 à 14:06, Johannes Schlüter a écrit :
Hi, On Wed, 2007-07-11 at 13:30 +0200, Lukas Kahwe Smith wrote:
On 11.07.2007, at 12:58, Bertrand Mansion wrote:
Sidenote: Lua is a great language (I love it) and I am very happy to see it embedded in PHP. Thanks a lot for this initiative :) It will make all sort of things possible, like for example allowing people to write addons/plugins for websites that would run in a secure sandbox. Great !
That's exactly one of the things I have in mind.
how fast can the lua "engine" be started up?
$ php -r '$start = microtime(true); for ($i=0; $i<1000; $i++) { $l = new lua(); } echo microtime(true) - $start, "\n";' 0.26574993133545 No real benchmark but 1000 lua instances in 0.3 seconds is quite nice in my opinion.
I got 0.20438599586487 on my MacBook Pro. Amazing :) -- Bertrand Mansion Mamasam Tel : +33 1 48 89 88 26 http://www.mamasam.com

« previous php.pecl.dev (#4803) next »