[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs needs truely useful flex matching
From: |
Dmitry Gutov |
Subject: |
Re: Emacs needs truely useful flex matching |
Date: |
Fri, 22 Mar 2013 15:18:53 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
Eli Zaretskii <address@hidden> writes:
>> Date: Fri, 22 Mar 2013 09:00:14 +0800
>> From: Le Wang <address@hidden>
>> Cc: Óscar Fuentes <address@hidden>, address@hidden
>>
>> > Indeed when searching for a file in a file hierarchy, you'd need
>> > a pre-built list of files, otherwise the time taken to find the files
>> > would dwarf the flex-matching time in any case.
>>
>> "git ls-files" is very fast on a solid state drive, and the list can
>> also be cached.
>
> Compare "git ls-files" with "ls -R" (time-wise and also look at the
> disk activity LED, if you have one) on the same directory and machine,
> and you will see that git does not actually look at the filesystem to
> find the files.
Sure, and that means that caching the list of files a in directory tree
is a somewhat solved issue. Whereas the kind of magical flex matching Le
is describing, isn't.
Re: Emacs needs truely useful flex matching, Richard Stallman, 2013/03/21