[PATCH] Add move constructor and move assignment operator for FileName class

Richard Kimberly Heck rikiheck at lyx.org
Sat Jan 9 16:16:29 UTC 2021

On 1/9/21 4:41 AM, Yuriy Skalko wrote:
>> I don't know enough about this stuff to say much. I think this would be
>> worth doing for 2.4.0, as it will probably provide for some speed as
>> well.
>> Riki
> Committed at 854c9de.
> Also I noticed that these files are accessed on every keypress (even
> on navigating document with arrows):
> lib/images/undo.svgz
> lib/images/textstyle-apply.svgz
> lib/images/paste.svgz
> Is it *really* necessary?

It would be because of getStatus, I suspect, though I'm not sure why the
files would be accessed. Maybe because the toolbar items are being
enabled/disabled? But surely that only need happen if there's been a change.


More information about the lyx-devel mailing list