perf(bash-v2): read directly to COMPREPLY on descriptionless short circuit (#1700)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Not that it'd really matter that much performancewise given the level we are at for this case, but this change makes the short circuit roughly twice as fast on my box as it was for the 1000 rounds done in marckhouzam/cobra-completion-testing. Perhaps more importantly, this makes the code arguably slightly cleaner.
authored by Ville Skyttä · committed by GitHub · parent ffa8860 · Browse files · 1 file+1 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−3 removed
- other:+1 added−3 removed