Skip to content

Use String#match? over String#=~ when applicable - #688

Merged
tenderlove merged 1 commit into
ruby:masterfrom
Shopify:match
Sep 24, 2024
Merged

tenderlove merged 1 commit into
ruby:masterfrom
Shopify:match

Conversation

@casperisfine

Copy link
Copy Markdown

Save on allocating useless MatchData instances.

cc @tenderlove

Save on allocating useless `MatchData` instances.
@tenderlove
tenderlove merged commit ac15c01 into ruby:master Sep 24, 2024
@casperisfine
casperisfine deleted the match branch September 24, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants