Skip to content

Reduce temporary allocation in BitReader

Use a QByteArrayView in BitReader instead of allocating a temporary QByteArray.

Heaptrack stats before:

allocations: 18748885 leaked allocations: 3329 temporary allocations: 8332037

Heaptrack stats after:

allocations: 650305 leaked allocations: 3329 temporary allocations: 59924

Merge request reports

Loading