0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.0190: finding duplicate tags uses a slow linear search

Problem:    Detecting duplicate tags uses a slow linear search.
Solution:   Use a much faster hash table solution. (James McCoy, closes #1046)
            But don't add hi_keylen, it makes hash tables 50% bigger.
This commit is contained in:
Bram Moolenaar
2017-01-15 16:52:51 +01:00
parent 296b1f28ca
commit 810f9c361c
2 changed files with 177 additions and 179 deletions

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
190,
/**/
189,
/**/