]> git.eshelyaron.com Git - emacs.git/commit
Special-case symbol and fixnum keys in member, assoc and rassoc
authorMattias Engdegård <mattiase@acm.org>
Wed, 8 Jul 2020 09:22:19 +0000 (11:22 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 8 Jul 2020 16:13:47 +0000 (18:13 +0200)
commitb7058f95f599ede703cb1c2af58d3af103048841
tree2a303b8a8230ac472102119353d84f2abea43a4f
parent384fa1095871f55587487dc0107be07ba684c41d
Special-case symbol and fixnum keys in member, assoc and rassoc

* src/fns.c (Fmember, Fassoc, Frassoc): Delegate to the cheaper Fmemq,
Fassq and Frassq for arguments of the appropriate types.
(eq_comparable_value): New function.
src/fns.c