help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: point-at-final-line


From: Eli Zaretskii
Subject: Re: point-at-final-line
Date: Tue, 30 Jan 2018 05:32:08 +0200

> From: Emanuel Berg <moasen@zoho.com>
> Date: Tue, 30 Jan 2018 03:18:18 +0100
> 
> I don't know about that method. The reason is
> it seems to favor your suggestion. And not by
> a little! Here are the results in seconds for
> 10 000 runs in a buffer of 55 lines:
> 
>     ;; point-at-final-line-3   0.08
>     ;; point-at-final-line-2   0.38
>     ;; point-at-final-line-1   0.55

That's expected, but you should also make sure none of the methods
does some caching behind the scenes, because if some do, the cache
needs to be disabled or flushed between iterations.



reply via email to

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