1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 21:20:44 -08:00

; Revert "; Add a note about a bottleneck"

This reverts commit 9f9ce631a2.

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.
This commit is contained in:
Dmitry Gutov 2020-07-06 04:29:52 +03:00
parent 9f9ce631a2
commit 10a0941f4d

View file

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