Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140182

Calling QTextDocument::size before creating a text document slows down the creation process.

XMLWordPrintable

    • Linux/X11, Windows

      Calling QTextDocument::size using QTextCursor at any point before constructing the document with QTextCursor results in the process taking significantly longer.

      The size function itself does not take a significant amout of time, but the difference between having called it at some point and not calling it at all is very noticable.

       

      See the attached project.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            kevin.zhang Kevin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes