[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs
From: |
Chong Yidong |
Subject: |
Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried) |
Date: |
Tue, 07 Nov 2006 11:08:44 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
martin rudalics <address@hidden> writes:
> On the other hand, doing "(overlay-recenter (point-max))" before
> deleting the overlays seems crucial. Apparently, `overlays-in' always
> returns a list of overlays in reverse order of their buffer positions.
> With the overlay center at bob, unchain_overlay always searches till the
> end of overlays_after, hence overhead is inherently quadratic with
> respect to the number of overlays in the buffer.
So, if I understand you correctly, the change to make is to replace
(remove-overlays nil nil 'face 'whitespace-highlight)
(overlay-recenter (point-max))
with
(overlay-recenter (point-max))
(remove-overlays nil nil 'face 'whitespace-highlight)
Is that right?
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), (continued)
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), Peter Tury, 2006/11/01
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), Peter Tury, 2006/11/05
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), martin rudalics, 2006/11/05
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), Peter Tury, 2006/11/05
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), martin rudalics, 2006/11/05
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), Richard Stallman, 2006/11/06
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), martin rudalics, 2006/11/06
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried),
Chong Yidong <=
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), martin rudalics, 2006/11/07
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), martin rudalics, 2006/11/12
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), Richard Stallman, 2006/11/13
- Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried), Richard Stallman, 2006/11/02