From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Indexed search with grep-like output Date: Sun, 2 Jan 2011 15:15:39 +0100 Message-ID: References: <831v4wpcue.fsf@gnu.org> <83wrmone2h.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293977778 17629 80.91.229.12 (2 Jan 2011 14:16:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 14:16:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 02 15:16:11 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 1PZOjB-0003dp-8r for ged-emacs-devel@m.gmane.org; Sun, 02 Jan 2011 15:16:09 +0100 Original-Received: from localhost ([127.0.0.1]:40677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZOjA-0000Ge-J0 for ged-emacs-devel@m.gmane.org; Sun, 02 Jan 2011 09:16:08 -0500 Original-Received: from [140.186.70.92] (port=45021 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZOj5-0000GZ-T4 for emacs-devel@gnu.org; Sun, 02 Jan 2011 09:16:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZOj4-0005fS-Lp for emacs-devel@gnu.org; Sun, 02 Jan 2011 09:16:03 -0500 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:46836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZOj4-0005fN-Ei; Sun, 02 Jan 2011 09:16:02 -0500 Original-Received: by ewy27 with SMTP id 27so6671353ewy.0 for ; Sun, 02 Jan 2011 06:16:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=C7N3ysZdHCDNXB9Xkk9nH1irgLMHsm+VcpGWryDgHU4=; b=Fii5Q5Hu6JMvrDZ96SPTmNIm1VBYFojdnlvX5S7xiyNJ8k0+JfbSsWKyd+h48U8YHa 7zDzEG4C3RsuN+M1KC47dM9/CPDd0Oqnqqz9rGwQ4HKiAX7xyXw2xuLt2qwfdP/J1exo 8ifMb2OPMnHAjTQAN6+w7YS1ZEx6MjfVEDit4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=usvFiqBLQaT0Hk3lw3FAyWQdNCWtsEH81L4VESjYR0t1QK21OgJFCpkAJZGE8w512V i2a3K7Q4i1eYiXDYxPHUR6qoPbFYWIfTLOQK4uoBxXo7RrmIHc2H4uh5g2gtavd6WzSi b2VVF5MwqNA/w4jg77DKdD2US6GOfNWikRCO4= Original-Received: by 10.213.35.209 with SMTP id q17mr4882194ebd.97.1293977759750; Sun, 02 Jan 2011 06:15:59 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Sun, 2 Jan 2011 06:15:39 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:134165 Archived-At: On Sun, Jan 2, 2011 at 2:53 PM, Eli Zaretskii wrote: >> 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. =C2=A0It is also ve= ry >> > fast: just a few seconds to return a query. >> >> Is that from within Emacs or? > > It doesn't matter. =C2=A0Most of the time is to output a long list of > documents, i.e. I/O. Does that mean you actually see the same time inside of Emacs as outside of Emacs? Or is it just what you expect? >> 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? =C2=A0I see no such issues on Windows (= on > a 6-year old machine). =C2=A0If they exist, they must be negligible > relative to other factors. That is not how I remember it, but I do not have time to look it up now.