diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-01-18 13:10:05 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-03-13 17:51:49 +0100 |
commit | 267f41c7ce1e02f392b57aa338d387e7627df184 (patch) | |
tree | 72b4f486c5a429fd462269b37575c55d065f2b57 /lisp/emacs-lisp/ert.el | |
parent | 35f75b63b51660190b48020c048701ae8553ea1f (diff) | |
download | emacs-267f41c7ce1e02f392b57aa338d387e7627df184.tar.gz emacs-267f41c7ce1e02f392b57aa338d387e7627df184.tar.bz2 emacs-267f41c7ce1e02f392b57aa338d387e7627df184.zip |
Simplify exec_byte_code arguments
Pass the function object and encoded arity, not the other components.
This speeds up several call paths and is necessary for improvements to
come.
* src/bytecode.c (Fbyte_code): Make a new byte code object for
execution. This is slower but performance isn't critical here.
(exec_byte_code): Retrieve components from the passed function.
* src/eval.c (fetch_and_exec_byte_code):
* src/lisp.h (exec_byte_code): Update signature.
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
0 files changed, 0 insertions, 0 deletions