Date: 12/24/99
- Next message: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] PHP 4.0 Bug #3038: buildconf fail"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Reply: Sascha Schumann: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-Andrei
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] PHP 4.0 Bug #3038: buildconf fail"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Reply: Sascha Schumann: "Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

