[Top][All Lists]

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

Re: Native line numbers, final testing

From: Eli Zaretskii
Subject: Re: Native line numbers, final testing
Date: Fri, 07 Jul 2017 12:47:35 +0300

> Date: Fri, 07 Jul 2017 09:19:54 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> > pre-command-hook definitely sounds better than pre-redisplay-functions,
> > but it would be nice if the check didn't have to be made every time a
> > command is issued. Although I suppose if the width accessor is a fast
> > constant lookup, then it doesn't really matter.
> It cannot be an accessor to a value that is already stored (because it
> currently isn't stored anywhere once redisplay finishes), but it
> should be fast enough nonetheless.  And if it turns out it isn't, we
> can always speed it up.

I timed the current implementation at 0.2 msec, in an optimized build;
should be at least twice faster in an optimized build.  This sounds
fast enough for now, I think.

reply via email to

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