commit | 6436cd83f90a0efc326798792e49e8ff96a43dce | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 27 00:28:33 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 27 00:28:33 2018 +0100 |
tree | 4c037d58e17fe18e02c9f06dc541d7b902c735dd | |
parent | 00b1e041654e8a38fb6b81218a037e1dc94e0943 [diff] [blame] |
patch 8.1.0644: finding next sign ID is inefficient Problem: Finding next sign ID is inefficient. Solution: Add next_sign_id. (Yegappan Lakshmanan, closes #3717)
diff --git a/src/structs.h b/src/structs.h index aa59bff..ae1c12e 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -737,6 +737,7 @@ 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;