Re: [LyX/master] Defer construction of temporary cursor.
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 > > > 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 signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: [LyX/master] Defer construction of temporary cursor.
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 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 -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: [LyX/master] Defer construction of temporary cursor.
On Tue, Apr 16, 2024 at 04:18:33PM GMT, Richard Kimberly Heck wrote: > commit 4e8aa89eb96cd73e6630deea6fd6b9d3039aab6c > Author: Richard Kimberly Heck > 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? Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel