|
From: | Dmitry Gutov |
Subject: | Re: Reliable after-change-functions (via: Using incremental parsing in Emacs) |
Date: | Tue, 31 Mar 2020 22:02:38 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 31.03.2020 21:48, Noam Postavsky wrote:
On Tue, 31 Mar 2020 at 14:47, Dmitry Gutov<address@hidden> wrote:On 31.03.2020 20:46, Eli Zaretskii wrote:One second of delay before the first window-full is displayed? This is like infinity.This is what we have now:Except that s/first window-full/last window-full/
True. And I meant to suggest that, on average, we'd get the same 1 second delay (if we assume all positions in the file are equally probable).
However, I've just tried the same experiment without goto-char, and got essentially the same result as with it: 1.2 s (my previous result was with "cold" filesystem cache).
In addition to that, though, I think this call returns before the window finishes displaying. So, when point is at eob, there's some extra wait, but I'm not sure how to measure it.
[Prev in Thread] | Current Thread | [Next in Thread] |