diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-24 08:44:18 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-24 08:44:18 +0800 |
commit | 9b6580ccb73e6cb71a89099bb7062689cbed9e20 (patch) | |
tree | 8f024c4a5fe5f850015f8f1b33fe09d371e413da /lisp/emacs-lisp/regexp-opt.el | |
parent | 9c346270f9848c5abf3c40def48ad1f65758763a (diff) | |
download | emacs-9b6580ccb73e6cb71a89099bb7062689cbed9e20.tar.gz emacs-9b6580ccb73e6cb71a89099bb7062689cbed9e20.tar.bz2 emacs-9b6580ccb73e6cb71a89099bb7062689cbed9e20.zip |
Speed up color cache lookup on X
* src/xterm.c (x_hash_string_ignore_case): New function.
(x_parse_color): Turn color cache into a hash table.
(x_term_init): Allocate color cache.
(x_delete_display): Free color cache correctly.
* src/xterm.h (struct x_display_info): Turn color cache into a
hash table and add appropriate fields.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions