[Top][All Lists]

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

Re: something like linum.el ought to be added

From: David Kastrup
Subject: Re: something like linum.el ought to be added
Date: Mon, 10 Sep 2007 22:00:18 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Markus Triska <address@hidden> writes:

> Richard Stallman <address@hidden> writes:
>> Is it efficient enough?
> Many users have reported good success, and it works well for me too.
> Please let me know if it doesn't work for you.
>> Preserving overlays on the other parts of the buffer won't things
>> speed up
> Since those overlays can be reused when re-visiting the parts of the
> buffer they were created for, this can speed things up since it avoids
> re-creation of overlays and intermediate garbage collection.

A large number of overlays is slowing down every operation in the
buffer.  Having a set of 50 or so that is only adjusted upon redraw
should be the fastest option for that reason.  If the overlay creation
is time-critical, one might move keep some off-screen overlays in a
separate list for reuse and detach them from the buffer temporarily.

But I doubt it would be worth the trouble.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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