]> git.eshelyaron.com Git - emacs.git/commit
Avoid Lisp_Misc allocation if C stack suffices
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jun 2018 22:59:08 +0000 (15:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jun 2018 00:13:38 +0000 (17:13 -0700)
commit12fd59bba0b04fb6727f4fa54e3305a65fae1d44
treea01a32e9fd01e35f566d97647e79acb43b43f9a3
parentef66660c17d1b164414c46d67ba3494f8a18c8ec
Avoid Lisp_Misc allocation if C stack suffices

* src/fileio.c (union read_non_regular): New type.
(read_non_regular, Finsert_file_contents):
Use it to avoid allocating a Lisp_Misc.
* src/keymap.c (union map_keymap): New type.
(map_keymap_char_table_item, map_keymap_internal):
Use it to avoid allocating a Lisp_Misc.
src/fileio.c
src/keymap.c