Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use String#squeeze instead of String#gsub
Because String#squeeze is about 7x faster than String#gsub. See also https://gist.github.com/okkez/6e199011505c6db7e2e1003cc94f8cbc Signed-off-by: Kenji Okimoto <[email protected]>
- Loading branch information