Re: [PHP-DEV] Re: [PHP3] VBS/Perl/PHP Performance Test From: Andrei Zmievski (andrei <email protected>)
Date: 12/23/99

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

-- 
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>