This project is archived and is in readonly mode.
Changeset [67d8b9743add53f908ca417c641c4a54dd326c7d] by James Golick
Revision 67d8b9743add53f908ca417c641c4a54dd326c7d,
committed by James Golick
· March 16th, 2010 @ 05:04 PM
Improve performance of multibyte utils.
Switch from using String#match to using String#=~. There's no
need to
generate a MatchData for each iteration since we're not using
it.
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/67d8b9743add53f908ca417c641c4a...
1 changed file
-
M
activesupport/lib/active_support/multibyte/utils.rb