|
From: | martin rudalics |
Subject: | Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried) |
Date: | Sun, 05 Nov 2006 23:34:37 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
> I tried M-: (remove-overlays nil nil 'face 'whitespace-highlight) and > it took about the same time what was the increment between first and > other runs. Evaluating it when point is at bottom, very fast, but when > point is at top, it is slow. > > I think you can easily test it by making slowtst.el a few times bigger > and then measuring the run times. I see. Please replace the two lines (remove-overlays nil nil 'face 'whitespace-highlight) (overlay-recenter (point-max)) by (overlay-recenter (point-max)) (dolist (overlay (overlays-in (point-min) (point-max))) (when (eq (overlay-get overlay 'face) 'whitespace-highlight) (delete-overlay overlay))) and tell me whether this improves things for your problematic file.
[Prev in Thread] | Current Thread | [Next in Thread] |