summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/avl-tree.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-07-18 11:32:22 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-07-18 12:49:29 +0200
commit6f7941272b112f0412479ffc315352d7928e0fdf (patch)
tree2a97d3b6d5d61d5a893f91a6c46bae46fcb656db /lisp/emacs-lisp/avl-tree.el
parent5ad8f3e5709a3823371ea6aa039b5e7e50feca1f (diff)
downloademacs-6f7941272b112f0412479ffc315352d7928e0fdf.tar.gz
emacs-6f7941272b112f0412479ffc315352d7928e0fdf.tar.bz2
emacs-6f7941272b112f0412479ffc315352d7928e0fdf.zip
Speed up `seq-subseq` for lists (bug#56521)
* lisp/emacs-lisp/seq.el (seq-subseq): Make faster by using `take` instead of a lisp loop, and more importantly by not front-loading the error text formatting. * test/lisp/emacs-lisp/seq-tests.el (seq-tests--list-subseq-ref) (test-seq-subseq): Test `seq-subseq` for lists more thoroughly.
Diffstat (limited to 'lisp/emacs-lisp/avl-tree.el')
0 files changed, 0 insertions, 0 deletions