summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2020-01-13 17:10:51 -0800
committerPhilip Langdale <philipl@overt.org>2020-01-13 17:12:25 -0800
commit3259494d9e58b710592e34b0f739942f0f941acb (patch)
tree8f33ca24c63c5b839a3577f0d3ece845a6a3240d /player/lua
parent4d516601953be45e6771ce0c26d8df1a6890b6fc (diff)
downloadmpv-3259494d9e58b710592e34b0f739942f0f941acb.tar.bz2
mpv-3259494d9e58b710592e34b0f739942f0f941acb.tar.xz
bash completion: only generate option list when needed
Right now we are generating the fully option list before doing anything else. That makes filename completion significantly slower than it was before, for no gain. It's easy to only generate the option list when it's actually needed. I also know I could additionally cache the option list across invocations, but I'm not doing that yet to make testing easier.
Diffstat (limited to 'player/lua')
0 files changed, 0 insertions, 0 deletions