From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs needs truely useful flex matching Date: Fri, 22 Mar 2013 10:24:00 +0200 Message-ID: <83a9pv6dwf.fsf@gnu.org> References: <877gl0od6x.fsf@wanadoo.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1363940648 24590 80.91.229.3 (22 Mar 2013 08:24:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2013 08:24:08 +0000 (UTC) Cc: ofv@wanadoo.es, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Le Wang Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 22 09:24:34 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UIxH7-0005x9-Be for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 09:24:33 +0100 Original-Received: from localhost ([::1]:39885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIxGj-0005dJ-Rl for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 04:24:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIxGg-0005dC-AE for emacs-devel@gnu.org; Fri, 22 Mar 2013 04:24:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIxGa-0004To-Ta for emacs-devel@gnu.org; Fri, 22 Mar 2013 04:24:06 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:38992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIxGa-0004TU-Lb for emacs-devel@gnu.org; Fri, 22 Mar 2013 04:24:00 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MK100700ZAQR800@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 22 Mar 2013 10:23:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MK1007GXZBZQU90@a-mtaout21.012.net.il>; Fri, 22 Mar 2013 10:23:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158055 Archived-At: > Date: Fri, 22 Mar 2013 09:00:14 +0800 > From: Le Wang > Cc: =D3scar Fuentes , emacs-devel@gnu.org >=20 > > 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 f= iles > > would dwarf the flex-matching time in any case. >=20 > "git ls-files" is very fast on a solid state drive, and the list ca= n > 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.