Re: Re: [PHP3] VBS/Perl/PHP Performance Test

From: Date: Fri, 24 Dec 1999 14:48:48 +0000
Subject: Re: Re: [PHP3] VBS/Perl/PHP Performance Test
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-14003@lists.php.net to get a copy of this message
On Fri, Dec 24, 1999 at 03:47:02PM +0100, Sascha Schumann wrote: > On Fri, Dec 24, 1999 at 08:36:26AM -0600, Andrei Zmievski wrote: > > At 04:23 PM 12/24/99 +0200, Andi Gutmans wrote: > > >I think the main reason why Perl is so much faster than ASP & PHP in that > > >benchmark is because regular expressions are part of the language syntax. > > >Thus the regex's are compiled at compile time. In PHP, although there is a > > >regex cache for PCRE regex's there is more of an overhead as they aren't > > >embedded as part of the language. > > > > Right, and that's the reason Perl can do a couple more tricks with regex's. > > > > Man, Perl internals scare me. I had to wade through pp_hot.c to figure out > > some regex stuff and I swear I'd never seen such convoluted programming before. > > They worked on it how long? Perl had much more time to evolve > than PHP, so it does not make me wonder, if PHP still has one > or two areas where it is not better than or at least > comparable to PHP. ^^^ s/PHP/Perl/ -- Regards, Sascha Schumann Consultant

« previous php.dev (#14003) next »