[LyX/master] Do not run updateMacros if the buffer has not changed

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Jul 24 23:00:05 UTC 2024


Le 25/07/2024 à 00:43, Richard Kimberly Heck a écrit :
> On 7/24/24 12:36 PM, Jean-Marc Lasgouttes wrote:
>> Le 24/07/2024 à 18:31, Jean-Marc Lasgouttes a écrit :
>>> commit 999fb37ebb1aecfda9889fa6a2b2fbb15133f2aa
>>> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
>>> Date:   Sat Jul 20 22:31:34 2024 +0200
>>>
>>>      Do not run updateMacros if the buffer has not changed
>>>           Each buffer now has an id which is increased when it is 
>>> marked dirty
>>>      (or when one of its relatives is marked dirty).
>>>           This can be a big win since updateMacros is very expensive.
>>
>> Riki, I propose to consider this for 2.4.X. 
> 
> This looks pretty safe to me.
> 
>> There is no hurry, it can be 2.4.3. We could also add the "smoother 
>> scroll" patch although we would have to test it to see if the 
>> performance is still good. It should be, I did not add that many 
>> things in master that make a difference.
> 
> That's fine, too. I'll be actively using stable for writing in a few days.

You mean that it could go in now?

JMarc


More information about the lyx-devel mailing list