emacs-devel
[Top][All Lists]
Advanced

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

Re: newline cache


From: Richard Stallman
Subject: Re: newline cache
Date: Wed, 23 Apr 2014 01:31:25 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

    The function I added returns an array with 2 sub-arrays, one with
    newline positions according to the cache, the other with newline
    positions according to the actual buffer contents.

That may take a very long time for my RMAIL buffer, which is 4 meg.  I
don't think I could tolerate having that run after each Rmail command.

To make this fast enough for me to use it to localize the bug, it
needs to operate only on a specified part of the buffer.  Maybe that
will make it fast enough.  If not, it needs to be optimized in other
ways too.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.




reply via email to

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