[Top][All Lists]

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

Re: Low redisplay performance (23 regression)

From: Tobias C. Rittweiler
Subject: Re: Low redisplay performance (23 regression)
Date: Wed, 29 Apr 2009 20:01:29 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>   GNU Emacs 22.1.1     -->  (4.323907 2 0.07007399999999997)
>>   GNU Emacs  -->  (7.5862680000000005 1 0.048462000000000005)
>>   GNU Emacs  -->  (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?


reply via email to

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