Mercurial > vim
comparison src/version.c @ 23037:4ba6c5eebb28 v8.2.2065
patch 8.2.2065: using map() and filter() on a range() is inefficient
Commit: https://github.com/vim/vim/commit/f8ca03bf9161ab9ee1a29db1d13c02b317c10029
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 28 20:32:29 2020 +0100
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 https://github.com/vim/vim/issues/7388)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Nov 2020 20:45:04 +0100 |
parents | fabd80ec9620 |
children | 75241f4377a4 |
comparison
equal
deleted
inserted
replaced
23036:58487aedb0c3 | 23037:4ba6c5eebb28 |
---|---|
748 NULL | 748 NULL |
749 }; | 749 }; |
750 | 750 |
751 static int included_patches[] = | 751 static int included_patches[] = |
752 { /* Add new patch number below this line */ | 752 { /* Add new patch number below this line */ |
753 /**/ | |
754 2065, | |
753 /**/ | 755 /**/ |
754 2064, | 756 2064, |
755 /**/ | 757 /**/ |
756 2063, | 758 2063, |
757 /**/ | 759 /**/ |