[LyX/master] Defer construction of temporary cursor.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Apr 16 21:02:03 UTC 2024


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

JMarc



More information about the lyx-devel mailing list