summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/subr-x.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-04-19 08:43:41 +0200
committerStefan Monnier <monnier@iro.umontreal.ca>2021-04-19 14:33:05 -0400
commit18d0ef9d597c1a78a0063b5c04642bf4c448dd19 (patch)
tree0318cdc39ac0ef1cce29311403edf7738ebe822e /lisp/emacs-lisp/subr-x.el
parent077dae3b4ca6a534a0c8061f7b5cf81639e39c3b (diff)
downloademacs-18d0ef9d597c1a78a0063b5c04642bf4c448dd19.tar.gz
emacs-18d0ef9d597c1a78a0063b5c04642bf4c448dd19.tar.bz2
emacs-18d0ef9d597c1a78a0063b5c04642bf4c448dd19.zip
completion-all-sorted-completions: Fix sorting performance bug
* lisp/minibuffer.el (completion-all-sorted-completions): Use hash table for sorting by history position, O(m+n*log(n)) instead of O(m*n*log(n)) with history length `m` and candidate length `n`.
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
0 files changed, 0 insertions, 0 deletions