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

add to QVarLengthArray a member function to release unused memory

    XMLWordPrintable

Details

    • 70a9caf4de9ddac52783a276a6cdd196eb5fef44

    Description

      Given that QVarLengthArray is a "low level" class, it should have a "low level" function that allows to fine tune memory usage, by releasing heap-allocated memory if size falls below the fixed allocation parameter.
      It could be named squeeze(), in analogy to QVector::squeeze().

      Attachments

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

        Activity

          People

            syntheticpp Peter Kümmel
            nicko Nicolò Tosi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes