<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE: It takes >2:40 to save a small spreadsheet with comments and more than 400Mb in extra memory usage"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=119650#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE: It takes >2:40 to save a small spreadsheet with comments and more than 400Mb in extra memory usage"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=119650">bug 119650</a>
              from <span class="vcard"><a class="email" href="mailto:noelgrandin@gmail.com" title="Noel Grandin <noelgrandin@gmail.com>"> <span class="fn">Noel Grandin</span></a>
</span></b>
        <pre>I have done as much as I can here, right now. 

There are two paths forward, for anyone else who wants to work on this:

(A) I can see that we are still doing at least 3 times as much work as we
should be, constructing EditEngine stuff - we are laying out the text for each
caption 3 times.

(B) The better approach would be to stop the code from constructing and laying
out every single caption, which is not necessary, but instead use the
ScCaptionInitData for exporting. However, there is some weird interaction that
I could not find the source off, where someone constructing the ScCaption
internal data registers the caption with something, so that if I disable the
"construct every single caption on export" logic, we end up losing all the
captions.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>