diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-27 00:28:33 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-27 00:28:33 +0100 |
commit | 6436cd83f90a0efc326798792e49e8ff96a43dce (patch) | |
tree | 4c037d58e17fe18e02c9f06dc541d7b902c735dd /src/structs.h | |
parent | 00b1e041654e8a38fb6b81218a037e1dc94e0943 (diff) |
patch 8.1.0644: finding next sign ID is inefficientv8.1.0644
Problem: Finding next sign ID is inefficient.
Solution: Add next_sign_id. (Yegappan Lakshmanan, closes #3717)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index aa59bff245..ae1c12e810 100644 --- a/src/structs.h +++ b/src/structs.h @@ -737,6 +737,7 @@ typedef struct proptype_S typedef struct signgroup_S { short_u refcount; // number of signs in this group + int next_sign_id; // next sign id for this group char_u sg_name[1]; // sign group name } signgroup_T; |