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

Not performance improvements :) #4989

Merged
merged 3 commits into from
Nov 28, 2024
Merged

Not performance improvements :) #4989

merged 3 commits into from
Nov 28, 2024

Conversation

martinvonz
Copy link
Member

Just some little cleanups I noticed while trying to make some functions async

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

@martinvonz martinvonz enabled auto-merge (rebase) November 27, 2024 23:38
The function needs an owned value, so we might as well pass it one and
avoid a few clone calls.
I think it's just clearer to assign the owned value to the variable
than to assign a reference to a temporary value.
@martinvonz martinvonz merged commit a5690be into main Nov 28, 2024
31 checks passed
@martinvonz martinvonz deleted the push-otvsoqyzolns branch November 28, 2024 02:53
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.

2 participants