This project is archived and is in readonly mode.

Changeset [67d8b9743add53f908ca417c641c4a54dd326c7d] 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...

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>