]> git.eshelyaron.com Git - emacs.git/commit
Speed up calls to C primitives
authorMattias Engdegård <mattiase@acm.org>
Tue, 1 Feb 2022 15:18:47 +0000 (16:18 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 1 Feb 2022 16:37:05 +0000 (17:37 +0100)
commita20f2b0ff9f8adcc4ca2f2be56109a7d72d11847
treefca1c8d5e124ecd01bb22c94e6cd191c343e36e3
parent2b9c648de644d19df3ae51cc495816885ac72fe4
Speed up calls to C primitives

* src/eval.c (funcall_subr): Test most likely cases first (conforming
calls to finite-arity or n-adic SUBRs), and the error cases last,
instead of doing it the other way around.  Simplify.
src/eval.c