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

Optimize performance of QXmlStreamWriter::write

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0
    • None
    • Core: Serialization
    • None
    • 5
    • fa2153bd1 (dev), e3f230e7b (dev), 765c54420 (6.5)
    • Foundation Sprint 72

    Description

      In the scope of QTBUG-103302 the QXmlStreamWriter API is ported to QAnyStringView. In the case of QXmlStreamWriter::write this means the introduction of 3 new helper functions to handle QStringView, QLatin1StringView and QUtf8StringView.

      To enhance performance, the QLatin1StringView and QStringView overloads should use stack buffers for re-coding to UTF-8, and write to the device in chunks, not allocating buffers themselves.

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              mate Máté Barany
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes