emacs-devel
[Top][All Lists]
Advanced

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

Re: mode-line size and position indicator


From: Eli Zaretskii
Subject: Re: mode-line size and position indicator
Date: Fri, 25 Aug 2017 15:36:57 +0300

> From: Nick Helm <address@hidden>
> CC: address@hidden
> Date: Fri, 25 Aug 2017 21:57:35 +1200
> 
> 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.

IME, such micro-optimizations are almost never needed, and shouldn't
be done without measurements.



reply via email to

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