]> git.eshelyaron.com Git - emacs.git/commit
unbind_to performance tuning
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 Jun 2018 00:07:38 +0000 (17:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 Jun 2018 00:07:57 +0000 (17:07 -0700)
commit2e2811865f0adb6658a87d3581a2dc3a9022f451
tree286e80914dc979a45070be1929faad22a618eb7c
parent08594a975a3d95b1c1eae38af608e487e2edfafc
unbind_to performance tuning

* src/alloc.c (which_symbols):
* src/dispnew.c (Fredisplay):
* src/editfns.c (Fsubst_char_in_region):
* src/fileio.c (Fdo_auto_save):
* src/indent.c (Fvertical_motion):
* src/keymap.c (Fcurrent_active_maps):
* src/lread.c (Feval_buffer):
* src/minibuf.c (get_minibuffer):
* src/sysdep.c (system_process_attributes):
* src/textprop.c (Fnext_single_char_property_change)
(Fprevious_single_char_property_change):
* src/window.c (Fscroll_other_window, Fscroll_other_window_down):
* src/xdisp.c (Fformat_mode_line):
Help the compiler eliminate tail recursion in call to unbind_to.
* src/coding.c (decode_coding_gap):
Omit unnecessary unbind_to, as we’re about to call unbind_to anyway.
* src/coding.c (Fread_coding_system):
* src/eval.c (eval_sub):
* src/xdisp.c (handle_single_display_spec, decode_mode_spec):
* src/xselect.c (x_get_local_selection):
Avoid need to save a machine register when calling unbind_to.
* src/minibuf.c (Ftry_completion, Fall_completions):
Omit unnecessary assignment.
15 files changed:
src/alloc.c
src/coding.c
src/dispnew.c
src/editfns.c
src/eval.c
src/fileio.c
src/indent.c
src/keymap.c
src/lread.c
src/minibuf.c
src/sysdep.c
src/textprop.c
src/window.c
src/xdisp.c
src/xselect.c