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

Assorted clean ups, optimizations, and a small bug fix #2552

Merged
merged 6 commits into from
Sep 5, 2024

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Sep 3, 2024

See individual commit messages for details.

I’m happy to split this into separate PRs for separate review; let me know.

@rhatdan
Copy link
Member

rhatdan commented Sep 3, 2024

LGTM

Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

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

LGTM

Append the result directly into the returned array,
instead of assembling it from partial pieces.

Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Make it 1-based, like in the other error message.

Signed-off-by: Miloslav Trmač <[email protected]>
It can't fail.

Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
We do modify cs in place.

Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
@rhatdan rhatdan merged commit f4ee630 into containers:main Sep 5, 2024
10 checks passed
@mtrmac mtrmac deleted the assorted branch September 5, 2024 19:05
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