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: Idea for syntax-ppss. Is it new? Could it be any good? Date: Mon, 28 Jul 2008 00:08:08 -0400 Message-ID: References: <20080726214429.GB3623@muc.de> <20080727145058.GA1598@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217218121 6671 80.91.229.12 (28 Jul 2008 04:08:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 04:08:41 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 06:09:31 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 1KNK38-00052H-AD for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 06:09:30 +0200 Original-Received: from localhost ([127.0.0.1]:53358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNK2E-0005Iz-Bg for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 00:08:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNK29-0005Ig-DO for emacs-devel@gnu.org; Mon, 28 Jul 2008 00:08:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNK28-0005IO-0k for emacs-devel@gnu.org; Mon, 28 Jul 2008 00:08:29 -0400 Original-Received: from [199.232.76.173] (port=39837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNK27-0005IL-S0 for emacs-devel@gnu.org; Mon, 28 Jul 2008 00:08:27 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:1387 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNK24-0003Gw-Fo; Mon, 28 Jul 2008 00:08:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuMEAHfjjEhFxIYw/2dsb2JhbACBW4k8oWWBdA X-IronPort-AV: E=Sophos;i="4.31,262,1215403200"; d="scan'208";a="24870355" Original-Received: from 69-196-134-48.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.48]) by ironport2-out.teksavvy.com with ESMTP; 28 Jul 2008 00:08:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1609C7FE3; Mon, 28 Jul 2008 00:08:08 -0400 (EDT) In-Reply-To: (Richard M. Stallman's message of "Sun, 27 Jul 2008 22:27:06 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:101621 Archived-At: > It caches the state for several positions, but I don't think they're at > regular positions. I don't understand the detailed workings of the > routine at the moment. > If we have a cache, it might be more efficient to cache the locations > where beginnings of defuns were found. Actually, it's not because a 10MB file might be composed of a single defun. Stefan