From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Release plans Date: Fri, 29 Aug 2008 16:20:09 -0400 Message-ID: References: <87bpzqqk7b.fsf@uwakimon.sk.tsukuba.ac.jp> <20080818210927.GD2615@muc.de> <87wsidnxqp.fsf@uwakimon.sk.tsukuba.ac.jp> <87ljytkwpk.fsf@rattlesnake.com> <878wusz0v9.fsf@uwakimon.sk.tsukuba.ac.jp> <87vdxp27z6.fsf@uwakimon.sk.tsukuba.ac.jp> <87prnxe5hc.fsf@rattlesnake.com> <873aktck5d.fsf@uwakimon.sk.tsukuba.ac.jp> <87k5e5dsvq.fsf@rattlesnake.com> <48B44802.1080302@emf.net> <87ej4atczj.fsf@gmail.com> <48B78A75.8080103@emf.net> <803akoyrqy.fsf@tiny.isode.net> <48B7F59B.5060705@gmail.com> <48B84CA8.7080908@emf.net> <87zlmvd1xl.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220041240 23131 80.91.229.12 (29 Aug 2008 20:20:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 20:20:40 +0000 (UTC) Cc: Thomas Lord , emacs-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 22:21:34 2008 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.50) id 1KZATJ-0001Gu-7T for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 22:21:29 +0200 Original-Received: from localhost ([127.0.0.1]:33431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZASK-00013f-IK for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 16:20:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZAS8-0000zX-Vz for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:20:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZAS8-0000yq-4m for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:20:16 -0400 Original-Received: from [199.232.76.173] (port=55199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZAS7-0000yh-MY for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:20:15 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:50462) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KZAS7-000784-98 for emacs-devel@gnu.org; Fri, 29 Aug 2008 16:20:15 -0400 Original-Received: from alfajor.home (vpn-132-204-232-34.acd.umontreal.ca [132.204.232.34]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m7TKK9Ji006164; Fri, 29 Aug 2008 16:20:09 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id 2C13A1C277; Fri, 29 Aug 2008 16:20:09 -0400 (EDT) In-Reply-To: <87zlmvd1xl.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Fri, 29 Aug 2008 22:03:02 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3093=0 X-detected-kernel: by monty-python.gnu.org: 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:103204 Archived-At: > it would be very nice, performance-wise and semantics-wise, to > be able to address the database from lisp directly rather than > going through the serialization bottleneck to a sub-process. > I think you've got it backwards; in any system involving Emacs (of > the current design), the serialization bottleneck is Emacs `eval'. I'm not sure I understand what you mean. In the case of something like Semantic, if parsing in Elisp is too expensive or if you want to use some existing C code to do the parsing, the bottleneck you'll have to handle is that the external process can't directly access the buffer's text, and it can be very costly to pass that text to the subprocess and then process the returned value (which may look like a list of text properties to add to various parts of the text). A DLL could be significantly more efficient. The difference can be as large as "on-the-fly" vs "batch". Stefan