<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 14 May 2020 at 16:51, Miklos Vajna <<a href="mailto:vmiklos@collabora.com">vmiklos@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> + 'performance problem with plenty comments' still in 6.3 alpha1, *only after save of file/autosave*<br>
+ <a href="https://bugs.documentfoundation.org/show_bug.cgi?id=125619" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=125619</a><br>
+ Armin?<br>
+ the problem is that (a) as soon as we display a note it becomes an SdrObject and stays an SdrObject until Calc closes (b) when we save, we create an SdrObject for every note during the save process (Noel)<br>
+ tons of SdrObjects interact badly with the accessibility stuff in calc, and it becomes a huge slowdown. I've optimized the accessibility stuff as much as possible, but we have run out of easy/medium fixes<br>
+ even if we throw away things after a timeout, it won’t help much (Eike)<br><br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">We can't even throw things away. The current data path goes (strictly one way)</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">data_in_file -> nice compact notes summary objects -> large expensive SdrObjects -> saved to disk</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Note the complete absence of any way of going backwards here - and implementing such looks quite tricky (to me).</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Maybe to someone else it will be easier :-)</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div><br></div><div> </div></div></div>