This project is archived and is in readonly mode.
Changeset [27aa22826cdd1804c2300716c2a19ebefdad3e33] by James Golick
Revision 27aa22826cdd1804c2300716c2a19ebefdad3e33,
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/27aa22826cdd1804c2300716c2a19e...
1 changed file
-
M
activesupport/lib/active_support/multibyte/utils.rb