Files
neovim/runtime/lua/vim
Gregory Anders 4c0d18c197 fix(vim.iter): enable optimizations for arrays (lists with holes) (#28781)
The optimizations that vim.iter uses for array-like tables don't require
that the source table has no holes. The only thing that needs to change
is the determination if a table is "list-like": rather than requiring
consecutive, integer keys, we can simply test for (positive) integer
keys only, and remove any holes in the original array when we make a
copy for the iterator.
2024-05-17 14:17:25 -05:00
..
2024-05-16 14:29:56 +08:00
2024-05-16 18:30:59 +02:00
2024-04-30 07:04:42 +08:00
2024-03-06 10:45:22 +00:00
2024-04-26 15:13:06 +01:00
2024-05-16 17:37:46 +08:00
2024-01-16 09:33:10 +00:00
2024-05-15 07:18:33 +08:00
2024-05-15 12:38:26 +01:00
2024-01-19 11:54:04 +00:00
2024-05-16 18:30:59 +02:00
2024-03-16 19:26:10 +00:00
2024-05-15 07:18:33 +08:00
2024-03-16 19:26:10 +00:00
2024-05-15 23:19:26 +02:00
2024-04-30 07:04:42 +08:00
2024-03-16 19:26:10 +00:00
2024-03-09 11:21:55 +00:00