summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-08-09 00:37:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-08-09 01:31:21 -0700
commitd896f78973bce33da7b4629089122bb58103d75c (patch)
tree8c9c094265e217ef5ba92f0476d77f81ecd0cd19 /lisp/emacs-lisp
parent4d07064a4374a2f74a256e64027ef80f355c7a7e (diff)
downloademacs-d896f78973bce33da7b4629089122bb58103d75c.tar.gz
emacs-d896f78973bce33da7b4629089122bb58103d75c.tar.bz2
emacs-d896f78973bce33da7b4629089122bb58103d75c.zip
Tune bytecode quitting
* src/bytecode.c (BYTE_CODE_QUIT): Check for GC, too. Do the check only once every 256 times. This should be good enough, and improves performance significantly on x86-64 as branch-prediction typically assumes checking will not be done so the instruction pipeline stays fuller. (exec_byte_code): Set up the quit counter. Don’t call maybe_gc directly, as BYTE_CODE_QUIT does that now.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions