Skip to content

Conversation

@alexandear
Copy link
Member

The PR refactors the code by removing redundant if len(slice) checks before iterating over the entire slice. for loops over an empty slice do nothing.

Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@jandubois jandubois merged commit 9889da7 into lima-vm:master Nov 4, 2024
29 checks passed
@AkihiroSuda AkihiroSuda added this to the v1.0 milestone Nov 4, 2024
@alexandear alexandear deleted the refactor/remove-redundant-if-len branch November 4, 2024 18:34
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