emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Idea for syntax-ppss. Is it new? Could it be any good?


From: Richard M Stallman
Subject: Re: Idea for syntax-ppss. Is it new? Could it be any good?
Date: Mon, 28 Jul 2008 17:47:29 -0400

    > 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]