]> git.eshelyaron.com Git - emacs.git/commit
Improved `and` and `or` optimisation
authorMattias Engdegård <mattiase@acm.org>
Fri, 12 Aug 2022 18:12:54 +0000 (20:12 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 16 Aug 2022 18:44:50 +0000 (20:44 +0200)
commit621550c076b135e47cf1a377a779263e12401b8a
tree9fad44e62a96bd33735ffe57b7c4274b84524558
parente618b6faee5b81d17501fdb2e6b121062f95c021
Improved `and` and `or` optimisation

* lisp/emacs-lisp/byte-opt.el (byte-optimize-and, byte-optimize-or):
Rewrite.  Avoid branching on arguments statically known to be true or
false, and hoist code out to an unconditional prefix when possible.
lisp/emacs-lisp/byte-opt.el