https://bugzilla.wikimedia.org/show_bug.cgi?id=29514
--- Comment #4 from Rin Nas <rin-...@ya.ru> 2011-06-27 09:07:00 UTC --- Did you see source code? Try to look for "faster" and "speed" entries. iconv and mbstring * iconv() faster then mb_convert_encoding() * mb_strlen() faster then strlen(utf8_decode()) * strlen(utf8_decode()) faster then iconv_strlen() * mb_substr() faster then iconv_substr() * mb_strpos() faster then iconv_strpos() Other (hacks) * preg_match('~~suSX') much faster (up to 4 times), then mb_check_encoding($data, 'UTF-8') * strtr() 2-3 times faster then mb_strtolower() * preg_match_all('~.~suSX', $s, $m) faster then native on PHP So PHP5 UTF-8 uses the fastest available method between mbstring, iconv and native/hacks. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l