[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48261: 28.0.50; Optimize `eql' to `eq' for fixnums
From: |
Mattias Engdegård |
Subject: |
bug#48261: 28.0.50; Optimize `eql' to `eq' for fixnums |
Date: |
Fri, 7 May 2021 11:23:40 +0200 |
Good!
+ (and (fixnump o) (<= -536870912 o 536870911)))
Maybe write (<= (- (ash 1 29)) o (1- (ash 1 29))) instead.
+ (cl-every
Are you sure this is a good idea? See comment in the beginning of bytecomp.el.
Maybe just hold your nose and keep the existing (memq nil (mapcar ...)) hack;
the list is usually short.
(We really should have fast, readable, always-available standard functions or
macros for 'some' and 'every' on lists.)