]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0190: finding duplicate tags uses a slow linear search v8.0.0190
authorBram Moolenaar <Bram@vim.org>
Sun, 15 Jan 2017 15:52:51 +0000 (16:52 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 15 Jan 2017 15:52:51 +0000 (16:52 +0100)
commit810f9c361c83afb36b9f1cdadca2b93f1201d039
treedf2c3926f3e1d6fcbeebf9c9b3cfd79539d9fb20
parent296b1f28ca9cedeb55872f306808b2214b519ce7
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.
src/tag.c
src/version.c