projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72278f2
)
; * lisp/emacs-lisp/byte-opt.el (byte-optimize--fixnump): Optimise.
author
Mattias Engdegård
<mattiase@acm.org>
Thu, 21 Jul 2022 10:18:59 +0000
(12:18 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Thu, 21 Jul 2022 13:26:00 +0000
(15:26 +0200)
lisp/emacs-lisp/byte-opt.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/byte-opt.el
b/lisp/emacs-lisp/byte-opt.el
index a457e2044d8477f784f30621ac2331f139c702c0..5705b2a8fd7062909ac4b2b137acc6252be8df07 100644
(file)
--- a/
lisp/emacs-lisp/byte-opt.el
+++ b/
lisp/emacs-lisp/byte-opt.el
@@
-921,7
+921,7
@@
for speeding up processing.")
(defun byte-optimize--fixnump (o)
"Return whether O is guaranteed to be a fixnum in all Emacsen.
See Info node `(elisp) Integer Basics'."
- (and (
fixnum
p o) (<= -536870912 o 536870911)))
+ (and (
integer
p o) (<= -536870912 o 536870911)))
(defun byte-optimize-equal (form)
;; Replace `equal' or `eql' with `eq' if at least one arg is a