Files
neovim/test/functional/lua
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
..
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00
2024-04-23 18:17:04 +02:00
2026-03-29 13:36:56 +02:00