This project is archived and is in readonly mode.

Changeset [27aa22826cdd1804c2300716c2a19ebefdad3e33] 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...

Committed by James Golick

  • M activesupport/lib/active_support/multibyte/utils.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>