[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
- something like linum.el ought to be added, Joe Wells, 2007/09/09
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/10
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/10
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/12
- Re: something like linum.el ought to be added, Joe Wells, 2007/09/12
- Re: something like linum.el ought to be added, David Kastrup, 2007/09/12
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/12
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/14
- Re: something like linum.el ought to be added, Stefan Monnier, 2007/09/14
- Re: something like linum.el ought to be added, Joe Wells, 2007/09/14