Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: cache command locations #212

Open
TorchedSammy opened this issue Nov 18, 2022 · 0 comments
Open

perf: cache command locations #212

TorchedSammy opened this issue Nov 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@TorchedSammy
Copy link
Member

this means that hilbish can save time searching $PATH for an executable. if $PATH ever changes, the cache is invalidated. this is similar to how bash functions and also provides the hash command.

should the command be named hash though? it's not immediately obvious, and posix compat isnt a concern so it could just be called ccache or anything else that fits. it would also be less confusing as a lua function, since it of course needs to be exposed to lua too.

@TorchedSammy TorchedSammy added the enhancement New feature or request label Nov 18, 2022
@TorchedSammy TorchedSammy added this to the v2.0 (Hibiscus) milestone Nov 18, 2022
@TorchedSammy TorchedSammy removed this from the v2.0 (Hibiscus) milestone Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant