emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Low redisplay performance (23 regression)


From: Chong Yidong
Subject: Re: Low redisplay performance (23 regression)
Date: Thu, 30 Apr 2009 09:58:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

"Tobias C. Rittweiler" <address@hidden> writes:

> Stefan Monnier <address@hidden> writes:
>
>>>   GNU Emacs 22.1.1     -->  (4.323907 2 0.07007399999999997)
>>>   GNU Emacs 23.0.60.1  -->  (7.5862680000000005 1 0.048462000000000005)
>>>   GNU Emacs 23.0.92.1  -->  (7.610763 2 0.06742599999999999)
>>>   (built on 2009-04-29)
>>
>> So it's about twice as slow for this test, which is the expected in this
>> case: since your benchmark always calls it with point between 2 defuns,
>> it ends up doing: BOD-raw to find the previous defun, EOD-function to
>> find its end, which tells Emacs that the starting point was after the
>> previous defun, so it calls BOD-raw again to find the next defun and
>> finally EOD-function to get to its end.
>
> Why didn't 22.x do this? Probably to fix some bug, right?

This is probably the issue discussed at

http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01836.html
http://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00086.html




reply via email to

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