[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode-line size and position indicator
From: |
Nick Helm |
Subject: |
Re: mode-line size and position indicator |
Date: |
Sat, 26 Aug 2017 19:50:41 +1200 |
User-agent: |
mu4e 0.9.18; emacs 25.2.1 |
On Sat 26 Aug 2017 at 12.36 am, Eli Zaretskii wrote:
>> In the other case, I wanted the code to run quickly during rapid
>> scrolling manoeuvres, so I tried to condense the math as much as
>> possible at the cost of dealing with larger variables. That was the idea
>> anyway.
>
> Did you actually see any tangible slowdown in using the "slower" code?
> I very much doubt that you'd see any effect, whereas complicating the
> code has an immediate clear effect on its readability.
No, none that I could detect with just basic compile-and-use testing.
I get your point about the readability of the code too. I'll have a go
at improving it.
Thanks.