Skip to content

use tr instead of gsub when possible#140

Open
acrogenesis wants to merge 1 commit intoupmin:masterfrom
acrogenesis-lab:master
Open

use tr instead of gsub when possible#140
acrogenesis wants to merge 1 commit intoupmin:masterfrom
acrogenesis-lab:master

Conversation

@acrogenesis
Copy link

tr is over 5x faster than gsub. Also tr is the concise idiomatic method call you do for that kind of things

@joncalhoun
Copy link
Member

Let me make sure this is still valid and I'll try to get it merged. Sorry for the massive delay - haven't touched this gem in a bit due to work and other things eating up all my time.

@joncalhoun joncalhoun self-assigned this Jan 12, 2015
@acrogenesis
Copy link
Author

@joncalhoun if you want I can remake this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants