]> git.eshelyaron.com Git - emacs.git/commit
Simplify and speed up EQ
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Feb 2024 17:54:50 +0000 (09:54 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 Feb 2024 08:15:17 +0000 (09:15 +0100)
commit2c675540b41fe8f31357dfba349cc2160eaf8c40
tree10808d645ba0ffd5812d32427bf5527f2d6186b7
parent5da8ce06d982f7bb181d3f57a38f661896ba7b7e
Simplify and speed up EQ

* src/lisp.h (lisp_h_BASE2_EQ, lisp_h_EQ):
Simplify by testing symbols_with_pos_enabled first.
On x86-64 with GCC 13.2 this shrinks temacs text by 1.5%
and after removing all *.elc files speeds up 'make' by 1.2%.

(cherry picked from commit d2a5d7534c7dcdc4432bf5456cb8a76680f7aa14)
src/lisp.h