summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/syntax-tests.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-02-02 17:42:07 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-02-12 18:21:34 +0100
commit09fecae87747291afcc9f59c985e3d804de961c3 (patch)
tree388ce9416cd8b92f1b3e899a8a4c67d5a9802053 /test/lisp/emacs-lisp/syntax-tests.el
parent297520852f4f0e11a34a8a867c13fdf03d83eafd (diff)
downloademacs-09fecae87747291afcc9f59c985e3d804de961c3.tar.gz
emacs-09fecae87747291afcc9f59c985e3d804de961c3.tar.bz2
emacs-09fecae87747291afcc9f59c985e3d804de961c3.zip
Count bytes, not records, in specpdl_ref
SPECPDL_INDEX becomes much faster because the pointer subtraction, expensive because of the inconveniently sized specpdl records, is now gone. This translates to a useful speedup on a wide variety of code. * src/lisp.h (specpdl_ref, wrap_specpdl_ref, unwrap_specpdl_ref): Rename member. (specpdl_count_to_ref, specpdl_ref_to_count) (specpdl_ref_add, specpdl_ref_to_ptr, SPECPDL_INDEX): Count offset in bytes rather than in records.
Diffstat (limited to 'test/lisp/emacs-lisp/syntax-tests.el')
0 files changed, 0 insertions, 0 deletions