[PATCH] WIP: rewrite statistics code

Pavel Sanda sanda at lyx.org
Tue Jul 23 23:57:01 UTC 2024


On Mon, Jul 22, 2024 at 01:37:38PM +0200, Pavel Sanda wrote:
> > Please test.
> 
> I'll hopefully do in the next days.

I tested and do not see any counting difference in my selected document and
confirm that profiling gives about 3x better time with your patch.

On top of that this speed up was good enough that I do not see visually
noticeable hiccups while moving with the cursor in User Guide anymore - but
that's also due to the fact that cursor moving is still somewhat slow on fast
repeat rates compared to other editors or terminals I have, heh ;). 

All in all this patch is nice piece of work! :)

Is the original problem reported on users list solved by this rewrite
or the lags created by citations are currently solved only by disabling
the stat feature anyway?

Pavel


More information about the lyx-devel mailing list