diff options
| author | Dmitry Gutov | 2020-07-06 03:50:59 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2020-07-06 03:50:59 +0300 |
| commit | 9f9ce631a2ff44ebcb87b0b1390a21b13665db43 (patch) | |
| tree | 6248fc32284e046aaf6f3bac16a354f716af66ae | |
| parent | 3c7bae233770373c5183073a3ddcb466b328cfc9 (diff) | |
| download | emacs-9f9ce631a2ff44ebcb87b0b1390a21b13665db43.tar.gz emacs-9f9ce631a2ff44ebcb87b0b1390a21b13665db43.zip | |
; Add a note about a bottleneck
| -rw-r--r-- | lisp/progmodes/project.el | 2 |
1 files changed, 2 insertions, 0 deletions
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'.") | |||
| 396 | (setq files | 396 | (setq files |
| 397 | (mapcar | 397 | (mapcar |
| 398 | (lambda (file) (concat default-directory file)) | 398 | (lambda (file) (concat default-directory file)) |
| 399 | ;; XXX: With large enough project, split-string becomes | ||
| 400 | ;; one of the bottlenecks. | ||
| 399 | (split-string | 401 | (split-string |
| 400 | (apply #'vc-git--run-command-string nil "ls-files" args) | 402 | (apply #'vc-git--run-command-string nil "ls-files" args) |
| 401 | "\0" t))) | 403 | "\0" t))) |