[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 12:17:09 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

David Reitter <address@hidden> writes:

> [Emacs 23.x performance regression]

On a related note, I notice a big slowdown for `end-of-defun'.

In a .lisp buffer with 6371 lines, running the following

   (dotimes (i 100)
     (dotimes (i 200)

yields the folloing timings:

  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)

As I use `end-of-defun' in my customized
`font-lock-extend-region-functions' this does have an impact on the
overall performance of fontification for me on large files.

What is the reason that `end-of-defun' is an _order of magnitude_ slower
than `beginning-of-defun'?


reply via email to

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