summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/generate-lisp-file.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2024-03-22 11:54:09 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2024-03-29 11:39:38 +0100
commit45941a62c799f9685fae296079304ae0898920cc (patch)
treecfe060f171b70752334b0ff2306fadeff1ec6754 /lisp/emacs-lisp/generate-lisp-file.el
parentdeae311281522864ebabaf56adafbe37032cc8a9 (diff)
downloademacs-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