Mercurial > vim
comparison src/version.c @ 34820:3d1e6800e2a8 v9.1.0282
patch 9.1.0282: Finding highlighting attributes is inefficient
Commit: https://github.com/vim/vim/commit/34f00dd4abd011ce750e273b747915ae2f3b6e48
Author: John Marriott <basilisk@internode.on.net>
Date: Mon Apr 8 23:28:12 2024 +0200
patch 9.1.0282: Finding highlighting attributes is inefficient
Problem: Finding highlighting attributes is inefficient
Solution: Use binary search to find highlighting attributes and color
names (John Marriott)
closes: #14426
Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 08 Apr 2024 23:45:03 +0200 |
parents | 7ed07817c287 |
children | 67dc61280eba |
comparison
equal
deleted
inserted
replaced
34819:d2e2f138be14 | 34820:3d1e6800e2a8 |
---|---|
702 NULL | 702 NULL |
703 }; | 703 }; |
704 | 704 |
705 static int included_patches[] = | 705 static int included_patches[] = |
706 { /* Add new patch number below this line */ | 706 { /* Add new patch number below this line */ |
707 /**/ | |
708 282, | |
707 /**/ | 709 /**/ |
708 281, | 710 281, |
709 /**/ | 711 /**/ |
710 280, | 712 280, |
711 /**/ | 713 /**/ |