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: Richard Stallman
Subject: Re: Fwd: Serious performace problems on Windows XP with new(!) GNU Emacs v22 (both patched and unpatched EmacsW32 were tried)
Date: Sat, 21 Oct 2006 08:05:23 -0400

It looks like we could speed it up even more
by producing this list

    !   (setq whitespace-retval (cons (match-beginning 0) whitespace-retval))

only if it is actually wanted.  Calling from whitespace-buffer
could pass t as an optional argument saying do produce this list.

      The overhead for maintaining
    these overlays may grow non-linearly with respect to their number.  Your

     > 3. unzip and then visit the attached slowtst.el (I drag&dropped it)

    has some 3500 lines which will produce approximately 7000 overlays.

Is that still true after the changes you sent?

    In addition, `whitespace-buffer' may unconditionally trigger a non-idle
    timer which may trigger further executions of `whitespace-buffer'.  The
    doc-string of the timer says:

    "Timer object used to rescan the files in buffers that have been modified."

    That's false, whitespace doesn't check whether a file is modified.

Can you fix that up too?




reply via email to

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