Re: strtr vs. str_replace runtime
| From: | Gustavo Lopes | Date: | Tue, 15 Jan 2013 20:51:02 +0000 |
| Subject: | Re: strtr vs. str_replace runtime | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64973@lists.php.net to get a copy of this message | ||
On Mon, 14 Jan 2013 22:55:33 +0100, Gustavo Lopes <glopes@nebm.ist.utl.pt> wrote:
OK, so now the plan is to merge this onto 5.4: https://github.com/cataphract/php-src/compare/php:PHP-5.4...cataphract:strtr_wu94_54 And this to 5.5: https://github.com/cataphract/php-src/compare/php:PHP-5.5...cataphract:strtr_wu94_55 The difference is that the 5.4 version does not introduce zend_qsort_r() and instead has dedicated simple heap sort.Given the marked improvements in performance and no objection from the RMs, I went through with this plan. -- Gustavo Lopes