]> granicus.if.org Git - vim/commit
patch 9.0.0615: using reduce() on a list from range() is a bit slow v9.0.0615
authorBram Moolenaar <Bram@vim.org>
Wed, 28 Sep 2022 12:22:59 +0000 (13:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 28 Sep 2022 12:22:59 +0000 (13:22 +0100)
commit52df40eb04726f9ee3c54ef8f7d856f1254b191a
treee992e04e076e1747819732271b0d9ed4efce07d0
parentef976323e770315b5fca544efb6b2faa25674d15
patch 9.0.0615: using reduce() on a list from range() is a bit slow

Problem:    Using reduce() on a list from range() is a bit slow.
Solution:   Avoid materializing the list.
src/list.c
src/testdir/test_listdict.vim
src/version.c