Re: Re: strtr() performance degradation

From: Date: Mon, 02 Dec 2013 23:02:47 +0000
Subject: Re: Re: strtr() performance degradation
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-70474@lists.php.net to get a copy of this message
On 02-12-2013 08:02, Laruence wrote:
On Wed, Jun 5, 2013 at 7:37 AM, Gustavo Lopes <glopes@nebm.ist.utl.pt> wrote:
On Tue, 04 Jun 2013 22:12:41 +0200, Dmitry Stogov <dmitry@zend.com> wrote:
This "good" algorithm that doesn't work well for "worse" cases makes about 15% slowdown of ZF2 based applications. It also slowdowns wordpress and other apps, but not so significantly. It's definitely doesn't work well for real-life applications :( Something must be dome (e.g. usage of old or new algorithms depending on different argument patterns).
All right, I'll take a look at what can be done. It's quite possible we can even do better than the old algorithm for short texts, but falling back to it in those cases is always an option.
Hey:
    is there any new progress of this ? :)
The progress consists of writing of scripts to test the point where to switch algorithms and trying some improvements on the old one without as expensive preprocessing steps. Now, this was in the summer... I'll have some time in the holidays to pick up this and some other PHP-related backlog; that said, if there's some impatience (which would be perfectly understandable...), I wouldn't mind if someone reverted to the previous state in the meantime. -- Gustavo Lopes

« previous php.internals (#70474) next »