diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-02-08 13:18:32 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-02-08 13:18:32 +0100 |
commit | f3fce3a71c7571be19a451403b46fa667bfa3c16 (patch) | |
tree | 1e70defbb8aa1dd38a28d53b36d83e75ea44a7c7 /lisp/emacs-lisp/regexp-opt.el | |
parent | 643a11c6e5defc0a34da1a53b64aa1e097298923 (diff) | |
download | emacs-f3fce3a71c7571be19a451403b46fa667bfa3c16.tar.gz emacs-f3fce3a71c7571be19a451403b46fa667bfa3c16.tar.bz2 emacs-f3fce3a71c7571be19a451403b46fa667bfa3c16.zip |
Simplify and speed up parts of elisp optimiser
* lisp/emacs-lisp/byte-opt.el (byte-optimize-constant-args): Simplify.
(byte-optimize--constant-symbol-p): Speed up.
(byteopt--eval-const): New.
(byte-optimize-member, byte-optimize-concat, byte-optimize-append):
Use byteopt--eval-const instead of eval which is much slower.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions