-
Notifications
You must be signed in to change notification settings - Fork 677
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
Fix useless-vec warnings throughout stackslib #5629
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Jacinta Ferrant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, should result in some performance gains by reducing Vec
allocations. Just address the comments I made and I'll approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; just be sure to address @jbencin's comments about directly passing a Vec<..>
when the callee needs an owned copy of the data.
… into fix/clippy-ci-stacks-lib-useless-vec
Signed-off-by: Jacinta Ferrant <[email protected]>
… into fix/clippy-ci-stacks-lib-useless-vec
Signed-off-by: Jacinta Ferrant <[email protected]>
…op' of https://github.com/stacks-network/stacks-core into fix/clippy-ci-stacks-lib-useless-vec
No description provided.