[LyX/master] Defer construction of temporary cursor.

Scott Kostyshak skostysh at lyx.org
Wed Apr 17 02:13:10 UTC 2024


On Tue, Apr 16, 2024 at 11:02:03PM GMT, Jean-Marc Lasgouttes wrote:
> Le 16/04/2024 à 22:27, Scott Kostyshak a écrit :
> > On Tue, Apr 16, 2024 at 04:18:33PM GMT, Richard Kimberly Heck wrote:
> > > commit 4e8aa89eb96cd73e6630deea6fd6b9d3039aab6c
> > > Author: Richard Kimberly Heck <rikiheck at lyx.org>
> > > Date:   Tue Apr 16 12:15:50 2024 -0400
> > > 
> > >      Defer construction of temporary cursor.
> > >      We were doing this on every mouse movement. I.e., for every single
> > >      pixel the mouse traverses. It can be expensive if there are a lot
> > >      of math insets.
> > 
> > Nice! I'm curious, how did you come across this? Were you profiling or
> > just happened to be looking at that code?
> 
> Look here: https://www.lyx.org/trac/ticket/13050

Ah thanks for the reference!

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240416/9de6c87e/attachment.asc>


More information about the lyx-devel mailing list