]> git.eshelyaron.com Git - emacs.git/commit
Reduce type checks in arithcompare
authorMattias EngdegÄrd <mattiase@acm.org>
Sat, 27 Jul 2024 12:10:40 +0000 (14:10 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 27 Jul 2024 16:24:22 +0000 (18:24 +0200)
commitd5cbe61051658859c8758c619cb7c92725d4a93d
treedcc2ffec20984e28775e1811f461b6f954b3ca91
parent4b4e61b82ecc0e3194be764a89c29057a27678db
Reduce type checks in arithcompare

* src/data.c (coerce_marker, not_number_or_marker): New.
(arithcompare): Don't use NUMBERP to check types up-front since we
are going to branch on types anyway.

(cherry picked from commit 7753a597fb84ce03ebcab87ec57553a06f6327e1)
src/data.c