aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index dec5ee328a7..5b3387b8134 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,25 @@
12012-06-26 Paul Eggert <eggert@cs.ucla.edu> 12012-06-26 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Use sprintf return value instead of invoking strlen on result.
4 In the old days this wasn't portable, since some sprintf
5 implementations returned char *. But they died out years ago and
6 Emacs already assumes sprintf returns int.
7 Similarly for float_to_string.
8 This patch speeds up (number-to-string 1000) by 3% on Fedora 15 x86-64.
9 * ccl.c (ccl_driver):
10 * character.c (string_escape_byte8):
11 * data.c (Fnumber_to_string):
12 * doprnt.c (doprnt):
13 * print.c (print_object):
14 * xdisp.c (message_dolog):
15 * xfns.c (syms_of_xfns):
16 Use sprintf or float_to_string result to avoid need to call strlen.
17 * data.c (Fnumber_to_string):
18 Use make_unibyte_string, since the string must be ASCII.
19 * lisp.h, print.c (float_to_string): Now returns int length.
20 * term.c (produce_glyphless_glyph):
21 Use sprintf result rather than recomputing it.
22
3 Clean out last vestiges of the old HAVE_CONFIG_H stuff. 23 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
4 * Makefile.in (ALL_CFLAGS): 24 * Makefile.in (ALL_CFLAGS):
5 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H. 25 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.