[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance asymmetry with overlays
From: |
Satyaki Das |
Subject: |
Re: Performance asymmetry with overlays |
Date: |
Fri, 16 May 2003 18:18:32 -0700 |
Luc Teirlinck <address@hidden> writes:
> Apparently your particular test runs a lot faster with overlays
> centered at point-max. I do not know whether that is really a general
> rule, however. Somebody who knows more about the internal
> implementation of overlays than I do should comment on that.
>
> The folllowing variation on your test contains only one single added
> line:
>
> (overlay-recenter (point-max))
>
> With this change, execution speed seems to be essentially independent
> of the starting position.
Thanks, that performs much better! I needed an overlay-recenter in
the other function too. Otherwise that becomes slow.
Satyaki