commit | b25f9a97e9aad3cbb4bc3fe87cdbd5700f8aa0c6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jul 10 18:21:50 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jul 10 18:21:50 2016 +0200 |
tree | c51d62bd77521a1de07d989af9a8ca3cd8c8b85a | |
parent | 8240433f48f7383c281ba2453cc55f10b8ec47d9 [diff] [blame] |
patch 7.4.2018 Problem: buf_valid() can be slow when there are many buffers. Solution: Add bufref_valid(), only go through the buffer list when a buffer was freed.
diff --git a/src/version.c b/src/version.c index 0d39ffa..7317edf 100644 --- a/src/version.c +++ b/src/version.c
@@ -759,6 +759,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2018, +/**/ 2017, /**/ 2016,