anki-code / xontrib-argcomplete

Argcomplete support to tab completion of python and xonsh scripts in xonsh shell.
BSD 2-Clause "Simplified" License
27 stars 5 forks source link

Caching a successful script path to avoid checking again and reduce time #3

Closed anki-code closed 4 years ago

anki-code commented 4 years ago

Completer could check the script path once and cache it to avoid checking again and reduce time.

Question to discuss is the time of caching or the cache invalidation.

anki-code commented 4 years ago

Current time of execution is fast. Reopen if it will be slow.