Skip to content

Reduce temporary allocation in BitReader

Carl Schwan requested to merge work/carl/reduce-allocation-bitreader into master

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