On 10/08/2017 10:19 AM, racoon wrote: > On 08.10.2017 00:19, Scott Kostyshak wrote: >> On Sat, Oct 07, 2017 at 05:57:48PM +0000, Richard Heck wrote: >>> On 10/07/2017 12:09 PM, racoon wrote: >>>> Hi, >>>> >>>> I noticed that beta1 shows some slowness when undoing with some of my >>>> documents. While undoing is instantaneous in 2.2.3, 2.3 takes about a >>>> second to respond to it. >>>> >>>> Did anyone notice this? I don't have a very fast computer though. >>> >>> Yes, I have also seen that, and my machines are pretty fast. >> >> I can't reproduce. My test case was to open the user guide, selected >> all, delete, and undo. Both were instantaneous for me. Do you have a >> better test case for me? > > Okay, I think I have narrowed it down to the inclusion of any > bibliography. Test case attached.
In investigating this, I typed a bunch of short lines: a, b, c, d, etc, all alone on their own lines. I did not see slowness on undo until I had typed quite a few, and then suddenly there it was. But then it was gone again. I'll try again later to figure out how to reproduce it reliably. What is clear is that undo is a lot slower when entire lines are being removed or replaced, as opposed merely to part of a single line, especially the last character being restored. I would guess this is because we do a full screen redraw in the slower case. Richard