|
From: | Dmitry Gutov |
Subject: | bug#64735: 29.0.92; find invocations are ~15x slower because of ignores |
Date: | Thu, 20 Jul 2023 18:19:41 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 20/07/2023 16:20, Ihor Radchenko wrote:
Dmitry Gutov <dmitry@gutov.dev> writes:... Last I checked, Lisp-native file listing was simply slower than 'find'.Could it be changed? In my tests, I was able to improve performance of the built-in `directory-files-recursively' simply by disabling `file-name-handler-alist' around its call.
Then it won't work with Tramp, right? I think it's pretty nifty that project-find-regexp and dired-do-find-regexp work over Tramp.
See https://yhetil.org/emacs-devel/87cz0p2xlc.fsf@localhost/ (the thread also continues off-list, and it looks like there is a lot of room for improvement in this area)
Does it get close enough to the performance of 'find' this way?Also note that processing all matches in Lisp, with many ignores entries, will incur the proportional overhead in Lisp. Which might be relatively slow as well.
[Prev in Thread] | Current Thread | [Next in Thread] |