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

Improve output buffer estimation in qCompress()

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None
    • 5
    • Foundation PM Prioritized

    Description

      Since fixing QTBUG-104972 and QTBUG-106542, we no longer allocate a buffer larger than the input, in anticipation of incompressible input, at least not for larger inputs, but reviewers requested that the output buffer growth do less reallocations than it does now.

      Agree on a output buffer sizing strategy, then implement it.

      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
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes