diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-03-22 11:54:09 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-03-29 11:39:38 +0100 |
commit | 45941a62c799f9685fae296079304ae0898920cc (patch) | |
tree | cfe060f171b70752334b0ff2306fadeff1ec6754 /lisp/emacs-lisp/generate-lisp-file.el | |
parent | deae311281522864ebabaf56adafbe37032cc8a9 (diff) | |
download | emacs-45941a62c799f9685fae296079304ae0898920cc.tar.gz emacs-45941a62c799f9685fae296079304ae0898920cc.tar.bz2 emacs-45941a62c799f9685fae296079304ae0898920cc.zip |
Faster non-destructive list sorting
Postpone the creation of a new list to after sorting which turns out to
be a lot faster (1.1x - 1.5x speedup).
* src/fns.c (sort_list, sort_vector, Fsort):
Create the new list when moving the data out from the temporary array.
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions