mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
877d04d0fb
Memoizes a function, using a custom function to hash the arguments. Private for now until: - There are other places in the codebase that could benefit from this (e.g. LSP), but might require other changes to accommodate. - Invalidation of the cache needs to be controllable. Using weak tables is an acceptable invalidation policy, but it shouldn't be the only one. - I don't think the story around `hash_fn` is completely thought out. We may be able to have a good default hash_fn by hashing each argument, so basically a better 'concat'. |
||
---|---|---|
.. | ||
bump_deps.lua | ||
check_urls.vim | ||
cliff.toml | ||
download-unicode-files.sh | ||
gen_eval_files.lua | ||
gen_filetype.lua | ||
gen_help_html.lua | ||
gen_lsp.lua | ||
gen_vimdoc.py | ||
genappimage.sh | ||
git-log-pretty-since.sh | ||
legacy2luatest.pl | ||
lintcommit.lua | ||
lua2dox.lua | ||
movedocs.pl | ||
pvscheck.sh | ||
release.sh | ||
shadacat.py | ||
update_terminfo.sh | ||
vim-patch.sh | ||
vimpatch.lua | ||
windows.ti |