]> granicus.if.org Git - vim/commit
patch 9.0.0165: looking up a text property type by ID is slow v9.0.0165
authorBram Moolenaar <Bram@vim.org>
Sun, 7 Aug 2022 17:20:08 +0000 (18:20 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 7 Aug 2022 17:20:08 +0000 (18:20 +0100)
commite44336b00a6c51bef904450a8012e4982e38ba2d
tree5e8df54b284819efc51aacc908d0b56de7ab69df
parentc390cc13e55b25d85a0684aa1becde881ef8ab19
patch 9.0.0165: looking up a text property type by ID is slow

Problem:    Looking up a text property type by ID is slow.
Solution:   Keep an array of property types sorted on ID.
src/structs.h
src/textprop.c
src/version.c