diff options
author | Philip Langdale <philipl@overt.org> | 2020-01-13 17:10:51 -0800 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2020-01-13 17:12:25 -0800 |
commit | 3259494d9e58b710592e34b0f739942f0f941acb (patch) | |
tree | 8f33ca24c63c5b839a3577f0d3ece845a6a3240d /TOOLS/osxbundle.py | |
parent | 4d516601953be45e6771ce0c26d8df1a6890b6fc (diff) | |
download | mpv-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 'TOOLS/osxbundle.py')
0 files changed, 0 insertions, 0 deletions