commit | 01105b37a108022515d364201767f7f111ec4222 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Nov 26 11:47:10 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Nov 26 11:47:10 2022 +0000 |
tree | 352f98cdf0ccf56a8854b00df62a00573edb9780 | |
parent | c96311b5be307f5a1d1b20a0ec930d63964e7335 [diff] [blame] |
patch 9.0.0951: trying every character position for a match is inefficient Problem: Trying every character position for a match is inefficient. Solution: Use the start position of the match ignoring "\zs".
diff --git a/src/version.c b/src/version.c index 9566edd..829e71d 100644 --- a/src/version.c +++ b/src/version.c
@@ -696,6 +696,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 951, +/**/ 950, /**/ 949,