Re: Re: strtr() performance degradation

From: Date: Mon, 02 Dec 2013 07:02:09 +0000
Subject: Re: Re: strtr() performance degradation
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-70461@lists.php.net to get a copy of this message
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 ? :) thanks > > > -- > Gustavo Lopes > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Laruence Xinchen Hui http://www.laruence.com/

« previous php.internals (#70461) next »