summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-04-24 08:44:18 +0800
committerPo Lu <luangruo@yahoo.com>2022-04-24 08:44:18 +0800
commit9b6580ccb73e6cb71a89099bb7062689cbed9e20 (patch)
tree8f024c4a5fe5f850015f8f1b33fe09d371e413da /lisp/emacs-lisp/regexp-opt.el
parent9c346270f9848c5abf3c40def48ad1f65758763a (diff)
downloademacs-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