diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-10-31 11:41:53 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-10-31 11:41:53 +0200 |
commit | 96ec0340716292f577f6dcaa0f8102f1a04e1d5e (patch) | |
tree | 30e7f40fc143741f2ab0d02d3a24806a6718113f /test/lisp/emacs-lisp/hierarchy-tests.el | |
parent | 41c4f337c8f798d4700dcd13b73ad4ccdb3257eb (diff) | |
download | emacs-96ec0340716292f577f6dcaa0f8102f1a04e1d5e.tar.gz emacs-96ec0340716292f577f6dcaa0f8102f1a04e1d5e.tar.bz2 emacs-96ec0340716292f577f6dcaa0f8102f1a04e1d5e.zip |
Speed up ls-lisp
This speeds up Dired by 25% in large directories.
* lisp/ls-lisp.el (ls-lisp--time-locale): New defvar.
(ls-lisp-format-time): calculate the locale for formatting times
only once and cache the value in 'ls-lisp--time-locale'.
(Bug#44273)
Diffstat (limited to 'test/lisp/emacs-lisp/hierarchy-tests.el')
0 files changed, 0 insertions, 0 deletions