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

Improved completion performance #594

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

rben01
Copy link
Contributor

@rben01 rben01 commented Oct 1, 2024

Removed non-matching candidates from consideration earlier, obviating need to filter them out
Removed clones of candidates that didn't match (before: clone then check; after: check then clone)

Also removed pointless unnecessary work in print_environment (code that was replaced but then not deleted; kinda surprised clippy doesn't warn about pointless sort on a vector that'll never actually be used).

Removed non-matching candidates from consideration earlier, obviating need to filter them out
Removed clones of candidates that didn't match (before: clone then check; after: check then clone)
Copy link
Owner

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Nice — thank you!

@sharkdp sharkdp merged commit aa564a3 into sharkdp:master Oct 2, 2024
15 checks passed
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