From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: Idea for syntax-ppss. Is it new? Could it be any good? Date: Mon, 28 Jul 2008 17:47:29 -0400 Message-ID: References: <20080726214429.GB3623@muc.de> <20080727145058.GA1598@muc.de> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1217281788 23187 80.91.229.12 (28 Jul 2008 21:49:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 21:49:48 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 23:50:37 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 1KNaby-0008Kk-0N for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 23:50:34 +0200 Original-Received: from localhost ([127.0.0.1]:37702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNab3-00085Z-VE for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 17:49:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNaZq-0006Qb-Tj for emacs-devel@gnu.org; Mon, 28 Jul 2008 17:48:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNaZq-0006PL-7P for emacs-devel@gnu.org; Mon, 28 Jul 2008 17:48:22 -0400 Original-Received: from [199.232.76.173] (port=33861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNaZp-0006PA-SW for emacs-devel@gnu.org; Mon, 28 Jul 2008 17:48:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:50976) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNaZp-0002PO-Hs for emacs-devel@gnu.org; Mon, 28 Jul 2008 17:48:21 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KNaYz-0003i6-LW; Mon, 28 Jul 2008 17:47:29 -0400 In-reply-to: (message from Stefan Monnier on Mon, 28 Jul 2008 00:08:08 -0400) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:101657 Archived-At: > 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. That case is so rare that it isn't very important. The benefit of caching beginnings of defuns is that you don't have to invalidate the cache when there's a change in the buffer. Subsequent defuns are still valid.