diff options
| author | Paul Eggert | 2012-09-03 23:34:19 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-03 23:34:19 -0700 |
| commit | af26b72c1187a93cdacc6abb6561f3c331346cef (patch) | |
| tree | 12dd2afed044c50078a831bf3aaaa981d79586b8 /src/ChangeLog | |
| parent | 7b6c362efe6e32b6a3a68f6f827c9cc558a2fcf0 (diff) | |
| download | emacs-af26b72c1187a93cdacc6abb6561f3c331346cef.tar.gz emacs-af26b72c1187a93cdacc6abb6561f3c331346cef.zip | |
Be more systematic about _setjmp vs setjmp.
* alloc.c (test_setjmp, mark_stack):
* image.c (PNG_LONGJMP) [PNG_LIBPNG_VER < 10500]:
(PNG_JMPBUF) [! (PNG_LIBPNG_VER < 10500)]:
(png_load, my_error_exit, jpeg_load):
* process.c (send_process_trap, send_process):
Uniformly prefer _setjmp and _longjmp to setjmp and longjmp.
The underscored versions are up to 30x faster on some hosts.
Formerly, the code used setjmp+longjmp sometimes and
_setjmp+_longjmp at other times, with no particular reason to
prefer setjmp+longjmp.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 17dec525156..a8d6a4026a0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2012-09-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Be more systematic about _setjmp vs setjmp. | ||
| 4 | * alloc.c (test_setjmp, mark_stack): | ||
| 5 | * image.c (PNG_LONGJMP) [PNG_LIBPNG_VER < 10500]: | ||
| 6 | (PNG_JMPBUF) [! (PNG_LIBPNG_VER < 10500)]: | ||
| 7 | (png_load, my_error_exit, jpeg_load): | ||
| 8 | * process.c (send_process_trap, send_process): | ||
| 9 | Uniformly prefer _setjmp and _longjmp to setjmp and longjmp. | ||
| 10 | The underscored versions are up to 30x faster on some hosts. | ||
| 11 | Formerly, the code used setjmp+longjmp sometimes and | ||
| 12 | _setjmp+_longjmp at other times, with no particular reason to | ||
| 13 | prefer setjmp+longjmp. | ||
| 14 | |||
| 1 | 2012-09-03 Paul Eggert <eggert@cs.ucla.edu> | 15 | 2012-09-03 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 16 | ||
| 3 | Fix minor problem found by static checking. | 17 | Fix minor problem found by static checking. |