[PATCH] WIP: rewrite statistics code
Pavel Sanda
sanda at lyx.org
Wed Jul 24 21:27:56 UTC 2024
On Wed, Jul 24, 2024 at 10:51:39PM +0200, Jean-Marc Lasgouttes wrote:
> Le 24/07/2024 ?? 22:48, Pavel Sanda a écrit :
> > I have difficulty to see any visible difference when it comes to the cursor
> > speed in UG after your last patch (detecting changes in buffer before calling
> > updatemacros), i.e. the difference seems to be within rounding error.
> >
> > The updateMacros probably isn't the main time consumer...
>
> Too bad (:
>
> I seem to remember that we have something that tinkers with our key events
> somewhere.
The situationwith 2.4 is accetable, so I don't think we need to spend more time
on optimizations. I would bet that the main consumer will have something to do
with painting routines...
On the positive side, that allows stats to be computed on real demand only.
I propose that we decrease the general delay from 5s to 3s now.
It was mainly cursor movement which brought me to that high value.
Pavel
More information about the lyx-devel
mailing list