Files
neovim/runtime/lua/vim
Yi Ming 97de5f145a perf(lua): memoize key_fn results #39568
Problem:
When using `vim.list.unique` or `vim.list.bisect`, if the `key` function is
complex, it can degrade performance, because it is invoked on every comparison

Solution:
The `key` interface convention is designed specifically to address this issue;
performance can be improved by memoizing its results.

Also added the shorthand use of the field name string as the key.
2026-05-05 17:04:11 -04:00
..
2026-04-30 07:26:40 -04:00
2026-04-30 07:26:40 -04:00
2025-06-06 15:36:48 +01:00
2026-04-25 11:16:18 -04:00
2026-01-09 10:07:15 +01:00
2026-03-11 18:00:18 +01:00
2026-04-30 07:26:40 -04:00