diff options
| author | Paul Eggert | 2012-05-09 10:51:30 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-05-09 10:51:30 -0700 |
| commit | b263a6b03bd58b811ac4f99aae7f37a0279528a9 (patch) | |
| tree | 12faf8194bee0393c21dad562075e68911af873f /lib-src | |
| parent | 3478ec4554757213e8d2344826110cc0f4ae4f3c (diff) | |
| download | emacs-b263a6b03bd58b811ac4f99aae7f37a0279528a9.tar.gz emacs-b263a6b03bd58b811ac4f99aae7f37a0279528a9.zip | |
Untag more efficiently if USE_LSB_TAG.
This is based on a proposal by YAMAMOTO Mitsuharu in
<http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01876.html>.
For an admittedly artificial (nth 8000 longlist) benchmark on
Fedora 15 x86-64, this yields a 25% CPU speedup. Also, it shrinks
Emacs's overall text size by 1%.
* lisp.h (XUNTAG): New macro.
(XCONS, XVECTOR, XSTRING, XSYMBOL, XFLOAT, XMISC, XPROCESS, XWINDOW)
(XTERMINAL, XSUBR, XBUFFER, XCHAR_TABLE, XSUB_CHAR_TABLE, XBOOL_VECTOR)
(XSETTYPED_PSEUDOVECTOR, XHASH_TABLE, TYPED_PSEUDOVECTORP): Use it.
* eval.c (Fautoload):
* font.h (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT):
* frame.h (XFRAME): Use XUNTAG.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions