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
perf: use logical assignments instead of if statements #6693
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Disregard that last comment |
Are you sure you covered all instances where this can be applied? I thought there were many more |
Most likely. I used this for a regex search: |
almeidx
force-pushed
the
logical-assignments
branch
from
September 25, 2021 21:20
356f0f4
to
d18b8db
Compare
iCrawl
requested review from
kyranet,
SpaceEEC,
novara754 and
vladfrangu
and removed request for
novara754
September 26, 2021 19:35
kyranet
approved these changes
Sep 28, 2021
iCrawl
approved these changes
Sep 28, 2021
This needs a rebase. |
almeidx
force-pushed
the
logical-assignments
branch
from
October 2, 2021 13:59
d18b8db
to
d3226aa
Compare
almeidx
force-pushed
the
logical-assignments
branch
from
October 2, 2021 14:00
d3226aa
to
6ec0907
Compare
Rebased |
SpaceEEC
approved these changes
Oct 3, 2021
vladfrangu
approved these changes
Oct 3, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please describe the changes this PR makes and why it should be merged:
Status and versioning classification: