Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .match? when we don't need the result #1478

Merged
merged 1 commit into from
Jul 7, 2020
Merged

Use .match? when we don't need the result #1478

merged 1 commit into from
Jul 7, 2020

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Jul 7, 2020

Avoid creating a bunch of match objects when we're not going to use the match results.

Signed-off-by: Tim Smith tsmith@chef.io

@tas50 tas50 requested review from a team as code owners July 7, 2020 01:42
Avoid creating a bunch of match objects when we're not going to use the match results.

Signed-off-by: Tim Smith <tsmith@chef.io>
Copy link
Contributor

@phiggins phiggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good 👍

@tas50 tas50 merged commit 4343dfe into master Jul 7, 2020
@chef-expeditor chef-expeditor bot deleted the perf branch July 7, 2020 20:48
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.

None yet

2 participants