Re: lua extension

From: Date: Wed, 11 Jul 2007 12:06:52 +0000
Subject: Re: lua extension
References: 1 2 3  Groups: php.pecl.dev php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4787@lists.php.net to get a copy of this message
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. johannes

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