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

Minor Gem check optimazation #5401

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Minor Gem check optimazation #5401

merged 1 commit into from
Sep 19, 2024

Conversation

AlexOn1ine
Copy link
Collaborator

@AlexOn1ine AlexOn1ine commented Sep 19, 2024

Since the variable is only used once I removed it and replaced it with a direct call. Also the if statement is short enough to fit into one line.

very ocd induced change but I couldn't look away.

Tbh the compiler will probably optimize it so feel free to close it if you think it isn't worth it.

Since the variable is only used once I removed it and replaced it with a direct call. Also the if statement is short enough to fit into one line.

very ocd induced change but I couldn't look away.
@Bassoonian Bassoonian merged commit 5cb1be7 into upcoming Sep 19, 2024
1 check passed
@Bassoonian Bassoonian deleted the AlexOn1ine-patch-3 branch September 19, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants