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

[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: martin rudalics
Subject: Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried)
Date: Tue, 31 Oct 2006 08:30:04 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> What shall I check exactly here? I ran this white() and yes, it
> finishes in 1-2 seconds. However I also ran (M-:)
> (whitespace-buffer-search whitespace-ateol-regexp) and it also took
> 1-2 seconds on my problematic original source file (it has only one
> eol "error").
> However with my slowtst.el I found the same difference what you wrote:
> white() finishes in 1-2 seconds, while M-: (whitespace-buffer-search
> whitespace-ateol-regexp) needs ~15-20 seconds to finish.

Since I don't know your "problematic original source file" I can only
refer to slowtst.el.

> So it seems this change could help a lot, but some other similar
> changes would be needed also. (I will check your newer patch also.

The change I wrote might speed things up by a factor of two or so.  But
installing overlays all over a buffer to indicate whitespace is pure
overkill.  After the release we could simplify this to highlight
whitespace in displayed buffer portions only and use text properties
instead of overlays.

> However, I have never patched source files this way. If you can send
> the whole modified whitespace.el it might help me.)

I'll send you my latest copy separately.





reply via email to

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