Mercurial > hg > xemacs-beta
annotate src/s/hpux11-shr.h @ 4869:e533a9912ef1
Eliminate funcalls, #'handle-pre-motion-command-current-command-is-motion
2010-01-20 Aidan Kehoe <kehoea@parhasard.net>
* simple.el (handle-pre-motion-command-current-command-is-motion):
This function is called a *lot*, make it faster, making
keysyms-equal inline, calling #'characterp (which doesn't have a
bytecode) much more rarely, and not throwing and catching. This
won't make much difference in practice, but does eliminate losts
of noise from profiling, e.g. at startup.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 20 Jan 2010 17:30:29 +0000 |
parents | aa5ed11f473b |
children | cad59a0a3b19 |
rev | line source |
---|---|
269 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
4759
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
269
diff
changeset
|
3 /* For building XEmacs under HPUX 11.0 with dynamic libraries. */ |
269 | 4 |
5 #define ORDINARY_LINK | |
6 | |
7 /* XEmacs change */ | |
8 #define HPUX_USE_SHLIBS | |
9 | |
10 /* XEmacs: */ | |
11 /* Don't tell the linker to link statically */ | |
12 #ifdef NOT_C_CODE | |
13 #define START_FILES | |
14 #define LINKER "$(CC)" | |
15 #endif /* THIS IS YMAKEFILE */ | |
16 | |
17 /* get call to brk() when rerunning XEmacs */ | |
18 #define RUN_TIME_REMAP | |
19 | |
20 #include "hpux11.h" | |
21 | |
22 /* We must turn off -g since it forces -static. */ | |
23 #ifdef __GNUC__ | |
24 #undef C_DEBUG_SWITCH | |
25 #define C_DEBUG_SWITCH | |
26 #endif |