diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-03-18 13:58:36 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-03-18 13:58:36 +0100 |
commit | 4d61badad15e8213c84798b85f10868fc48b94ee (patch) | |
tree | 2aa5fadc577ee2b0f99ddc5278230bda8dc175a9 /lisp/emacs-lisp | |
parent | 499f2085fa6fce6c7a2868c8d27d465f43d53f0f (diff) | |
download | emacs-4d61badad15e8213c84798b85f10868fc48b94ee.tar.gz emacs-4d61badad15e8213c84798b85f10868fc48b94ee.tar.bz2 emacs-4d61badad15e8213c84798b85f10868fc48b94ee.zip |
Speed up fixnum printing
Use the new number-to-string code to speed up fixnum printing, with
similar results (often more than twice as fast as before).
* src/data.c (Fnumber_to_string): Move fixnum conversion to...
(fixnum_to_string): ... this new function.
* src/lisp.h: (fixnum_to_string): External declaration.
* src/print.c (print_object): Use fixnum_to_string instead of sprintf.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions