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

Make the plugin lookup faster when mistyping a subcommand #5297

Merged
merged 2 commits into from
Sep 26, 2022

Conversation

kit-ty-kate
Copy link
Member

@kit-ty-kate kit-ty-kate commented Sep 22, 2022

Fixes #5296

Before this patch, typing opam upgrde would take: 1.6s
After this patch, it only takes: 0.2s

@dra27 dra27 added this to PR in progress in Opam 2.2.0 via automation Sep 26, 2022
@dra27 dra27 added this to the 2.2.0~alpha milestone Sep 26, 2022
@dra27 dra27 moved this from PR in progress to PR finalised (merge with CI) in Opam 2.2.0 Sep 26, 2022
@rjbou rjbou merged commit 563ef91 into ocaml:master Sep 26, 2022
Opam 2.2.0 automation moved this from PR finalised (merge with CI) to Done Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Opam 2.2.0
  
Done
Development

Successfully merging this pull request may close these issues.

Check command is valid before doing costly initlialization work
3 participants