From: Dmitry Gutov Date: Mon, 6 Jul 2020 00:50:59 +0000 (+0300) Subject: ; Add a note about a bottleneck X-Git-Tag: emacs-28.0.90~7064 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f9ce631a2ff44ebcb87b0b1390a21b13665db43;p=emacs.git ; Add a note about a bottleneck --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 08798d86f8e..188236427da 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -396,6 +396,8 @@ 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)))