You byte compiled Evil right? 'make' does it.<br><br><br><br><div class="gmail_quote">On Tue, Jul 31, 2012 at 4:29 PM, Nikolai Weibull <span dir="ltr"><<a href="mailto:now@bitwi.se" target="_blank">now@bitwi.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jul 31, 2012 at 10:11 PM, Frank Fischer<br>
<<a href="mailto:frank-fischer@shadow-soft.de">frank-fischer@shadow-soft.de</a>> wrote:<br>
> Am Tue, 31 Jul 2012 17:40:49 +0200<br>
> schrieb Nikolai Weibull <<a href="mailto:now@bitwi.se">now@bitwi.se</a>>:<br>
<br>
>> I just hold down ‘w’ and let it auto-repeat. Did you try that?<br>
><br>
> Yes, that's what I tried but apparently on a too powerful machine ...<br>
<br>
</div>Ah, so it was a question of computing power, after all.<br>
<div class="im"><br>
>> I ran with emacs -Q and load evil manually, with the same result<br>
>> (Fundamental mode). It’s not an old machine either (but I don’t think<br>
>> that’s relevant, as this command shouldn’t be slow on any sort of<br>
>> machine).<br>
><br>
> Certainly you're right, it should be fast. I've just tried it again on<br>
> my old notebook and there holding 'w' pressed shows a big slowdown (the<br>
> cursor does not move at all until the button is released).<br>
<br>
> The problem is that evil does a lot of cleanup work after each single<br>
> command (usually in post-command-hooks, for example the repeat-system<br>
> and cursor adjustment at the eol and eob). And this is partially<br>
> relatively expensive (compared to a single forward-word) and probably<br>
> be improved (IIRC there's a function `evil-adjust-cursor' that<br>
> sometimes does some heavy stuff and it is called in forward word<br>
> motions but not in the backward direction).<br>
<br>
</div>I’m on a 2 GHz Intel Core 2 Duo. This work your talking about must<br>
somehow be shuffling around a lot of memory or something similarly<br>
expensive. Is the gap being moved? I mean, what can be so expensive?<br>
Is it the use of saved restrictions/excursions?<br>
<br>
It makes me sad when a text editor is slow in the year 2012 (on late<br>
year 2008 hardware). (I’m not blaming you, it’s just sad that this<br>
can even occur.)<br>
<br>
I guess the upshot is that it gives me added incentive to try to stop<br>
just holding down movement keys and instead use isearch or pressing<br>
“10w”.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
</div></div></blockquote></div><br>