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

Add a small string optimization to QByteArray

    XMLWordPrintable

    Details

    • Story Points:
      13

      Description

      I slightly remember some discussion on this topic for QString, however I don't find any references now and don't know how the status on this topic is.

      In QtSerialBus, QByteArray is used as container for QCanBusFrame. As standard CAN 2.0 frames can consist of 8 bytes max, this would be an optimal case of storing the data directly without allocating memory. The same container, however, must be capable to store the max. 64 bytes of a CAN FD frame.

      While we could think of an optimized implementation within QCanBusFrame, the better solution would be to have this optimization in QByteArray.

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            aha_1980 André Hartmann
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            RnD Owner:
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes