diff options
author | Mattias Engdegård <mattiase@acm.org> | 2022-03-18 11:43:10 +0100 |
---|---|---|
committer | Mattias Engdegård <mattiase@acm.org> | 2022-03-18 11:54:08 +0100 |
commit | ce26657b5d7e77d851ed9267d554f4f48e43a0b6 (patch) | |
tree | 295a1e6bad8c60fb9408e6a2a408483959ec75c7 /etc | |
parent | 2b05a06786e7b5adf9d4329959da49d9b40c2bef (diff) | |
download | emacs-ce26657b5d7e77d851ed9267d554f4f48e43a0b6.tar.gz |
Speed up number-to-string for fixnums
Do the binary-to-decimal conversion by hand for fixnums instead of
calling sprintf. This results in a noticeable speed increase (on my
machine, 2.2× faster excluding GC).
* src/data.c (Fnumber_to_string): Don't use sprintf for fixnums.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions