]> git.eshelyaron.com Git - emacs.git/commit
Speed up cl-list-length
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Feb 2019 22:51:26 +0000 (14:51 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Feb 2019 22:52:37 +0000 (14:52 -0800)
commita812ed215ce0a7a53f51dd5aa51de720917d2ff0
treeac452d74428b3522b76c6c5c1906242e78da472d
parent5d46862440af7957ea617e42d6c1c6ee4c46ba3e
Speed up cl-list-length

* lisp/emacs-lisp/cl-extra.el (cl-list-length): Use ‘length’
to do the real work; this is simpler and uses a better algorithm.
lisp/emacs-lisp/cl-extra.el