bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#12867: 24.3.50; easy-to-repro crash involving mode line


From: Stefan Monnier
Subject: bug#12867: 24.3.50; easy-to-repro crash involving mode line
Date: Mon, 12 Nov 2012 15:55:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> We already do, but maybe not as extensively as you may have in mind.
> See the base_line_pos member of 'struct window'.
> There's also region-cache.c, which we could use for that.  But before
> we do, Someone(TM) should time the thing and see if it's worth our
> while to make that cache.

FWIW, I recently added such a cache (in Elisp) to nlinum.el, and on my
test case (largish file with C-v/M-v style scrolling) the difference was
very significant (but the previous code had no cache at all, not even
base_line_pos).


        Stefan





reply via email to

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