]> git.eshelyaron.com Git - emacs.git/commitdiff
; Revert "; Add a note about a bottleneck"
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 6 Jul 2020 01:29:52 +0000 (04:29 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 6 Jul 2020 01:29:52 +0000 (04:29 +0300)
This reverts commit 9f9ce631a2ff44ebcb87b0b1390a21b13665db43.

It's still a bottleneck, but so are mapcar (with its effect on GC) and
concat. So our limits show in several places at once.

lisp/progmodes/project.el

index 188236427da422ea55c05ba0351d8d9b9eb0cfc9..08798d86f8ea4491bd39deaf1e739afc6823bf61 100644 (file)
@@ -396,8 +396,6 @@ backend implementation of `project-external-roots'.")
        (setq files
              (mapcar
               (lambda (file) (concat default-directory file))
-              ;; XXX: With large enough project, split-string becomes
-              ;; one of the bottlenecks.
               (split-string
                (apply #'vc-git--run-command-string nil "ls-files" args)
                "\0" t)))