diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-11-07 15:32:45 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-11-07 15:32:45 +0200 |
commit | fc61ea4fd744480dcd5cd174f4599e135752882a (patch) | |
tree | 19cdf0cf369c47385c7e0a759506107af6f096c9 /lisp/calc | |
parent | b74c8847e86a9fc2abfe3a80e75cd361ce2d53af (diff) | |
download | emacs-fc61ea4fd744480dcd5cd174f4599e135752882a.tar.gz emacs-fc61ea4fd744480dcd5cd174f4599e135752882a.tar.bz2 emacs-fc61ea4fd744480dcd5cd174f4599e135752882a.zip |
Speed up lookup in redisplay--variables
* lisp/frame.el (redisplay--variables): Make it a hash-table.
* src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
as a hash-table. This speeds up this function by an order of
magnitude: where previously a setq was slowed down by 100% by
introducing the maybe_set_redisplay test, it is now only 5%
slower.
(syms_of_xdisp) <redisplay--variables>: Doc fix.
Diffstat (limited to 'lisp/calc')
0 files changed, 0 insertions, 0 deletions