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: Indexed search with grep-like output Date: Sun, 02 Jan 2011 08:53:43 -0500 Message-ID: References: <831v4wpcue.fsf@gnu.org> <83wrmone2h.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1293976443 12403 80.91.229.12 (2 Jan 2011 13:54:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 13:54:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 02 14:53:58 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZONi-00087w-2C for ged-emacs-devel@m.gmane.org; Sun, 02 Jan 2011 14:53:58 +0100 Original-Received: from localhost ([127.0.0.1]:41632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZONh-0002jA-2L for ged-emacs-devel@m.gmane.org; Sun, 02 Jan 2011 08:53:57 -0500 Original-Received: from [140.186.70.92] (port=59486 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZONY-0002id-HF for emacs-devel@gnu.org; Sun, 02 Jan 2011 08:53:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZONX-0001t4-CM for emacs-devel@gnu.org; Sun, 02 Jan 2011 08:53:48 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZONX-0001sz-Ar for emacs-devel@gnu.org; Sun, 02 Jan 2011 08:53:47 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PZONT-0005jF-Qe; Sun, 02 Jan 2011 08:53:43 -0500 In-reply-to: (message from Lennart Borgman on Sun, 2 Jan 2011 14:46:45 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134161 Archived-At: > From: Lennart Borgman > Date: Sun, 2 Jan 2011 14:46:45 +0100 > Cc: emacs-devel@gnu.org > > > Yes, I use one of the tools that builds on Lucene (see > > http://www.methods.co.nz/docindexer/) to index MS Office documents > > (some 17,000 of them) I have on my office machine.  It is also very > > fast: just a few seconds to return a query. > > Is that from within Emacs or? It doesn't matter. Most of the time is to output a long list of documents, i.e. I/O. > The subprocess must be the current process when it sends the output to > Emacs and Emacs must be the current process when it receives the > output. So the operating system has to switch between them and as I > understands it that operation is rather costly on w32 especially. "Rather costly" compared to what? I see no such issues on Windows (on a 6-year old machine). If they exist, they must be negligible relative to other factors.