Re: Re: [PHP3] VBS/Perl/PHP Performance Test
| From: | Andrei Zmievski | Date: | Fri, 24 Dec 1999 02:19:56 +0000 |
| Subject: | Re: Re: [PHP3] VBS/Perl/PHP Performance Test | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13980@lists.php.net to get a copy of this message | ||
On Thu, 23 Dec 1999, Rasmus Lerdorf wrote:
> The preg_replace() function should be quite a bit faster. Try that
> instead. The hsregex library is starting to show its age. The PCRE
> library is quicker.
Yes, the actual regex matching code is quite faster. The code that does
replacement though was mostly taken from ereg_replace(), with some
modifications for the PCRE stuff. I don't know right now how it can be
optimized more.
-Andrei
"Freedom comes when you learn to let go.
Creation comes when you learn to say no."
-madonna