]> granicus.if.org Git - vim/commit
patch 8.2.2065: using map() and filter() on a range() is inefficient v8.2.2065
authorBram Moolenaar <Bram@vim.org>
Sat, 28 Nov 2020 19:32:29 +0000 (20:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 28 Nov 2020 19:32:29 +0000 (20:32 +0100)
commitf8ca03bf9161ab9ee1a29db1d13c02b317c10029
tree8d88cf50d3cbfdcd58cf763982f6be86a47cf088
parentebec3e29b83e6b5ccdd67a79993628871cda4b5b
patch 8.2.2065: using map() and filter() on a range() is inefficient

Problem:    Using map() and filter() on a range() is inefficient.
Solution:   Do not materialize the range. (closes #7388)
src/list.c
src/testdir/test_functions.vim
src/version.c