[Bug 26605] Use strtr instead of str_replace when possible

2012-01-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26605 Antoine "hashar" Musso changed: What|Removed |Added CC||has...@free.fr --- Comment #4

[Bug 26605] Use strtr instead of str_replace when possible

2011-01-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26605 --- Comment #3 from Brion Vibber 2011-01-08 01:19:48 UTC --- I did some tweaks to the benchmark in r79854; results on my test box (MacBook Pro, 2.4GHz Core 2 Duo, Mac OS X 10.6.6, 64-bit PHP 5.3.4 built via MacPorts) with 10,000 reps: $ php b

[Bug 26605] Use strtr instead of str_replace when possible

2011-01-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26605 --- Comment #2 from Reedy 2011-01-06 21:03:02 UTC --- re...@ubuntu64-esxi:~/mediawiki/trunk/phase3/maintenance/benchmarks$ php bench_strtr_str_replace.php 100 times: function bench_strtr_str_replace->benchstrtr() : 0.22ms ( 0.00ms each)

[Bug 26605] Use strtr instead of str_replace when possible

2011-01-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26605 Reedy changed: What|Removed |Added CC||s...@reedyboy.net --- Comment #1 from Reedy 2