perf(bash-v2): standard completion optimizations (#1683)
Refactor to remove two loops over the entire list of candidates. Format descriptions only for completions that are actually going to be displayed, instead of for all candidates. Format descriptions inline in completions array, removing need for a command substitution/subshell and a printf escape per displayed completion.
V
Ville Skyttä committed
09d6ba690f83d8efe2d5eca1e74897e123075d2a
Parent: 4f0facb
Committed by GitHub <noreply@github.com>
on 5/3/2022, 1:00:51 AM