diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-01-29 13:34:48 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-01-29 13:48:23 +0100 |
commit | 254c75fc2935e7edef079166d90b231278115a2f (patch) | |
tree | e0255c78283d649134a5c0723929a8b736410649 /lisp/emacs-lisp/check-declare.el | |
parent | e55855c5a1e85e230d2860c973358a34eb72da64 (diff) | |
download | emacs-254c75fc2935e7edef079166d90b231278115a2f.tar.gz emacs-254c75fc2935e7edef079166d90b231278115a2f.tar.bz2 emacs-254c75fc2935e7edef079166d90b231278115a2f.zip |
Better commutative binary numerical op codegen
* lisp/emacs-lisp/bytecomp.el (byte-compile-variadic-numeric):
Put a constant argument last for better LAP code opportunities.
This applies to commutative binary operations (+ and *).
`min` and `max` are not included being not quite commutative.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions