Skip to content
Commit 6fa81bed authored by Milian Wolff's avatar Milian Wolff
Browse files

Optimize: use QVarLengthArray<QChar> instead of QList<QChar>

The latter would put the 2byte QChar into the 8byte QList slots,
and would require a memory allocation for the buffer too. With a
QVarLengthArray we get zero allocations for the common case and
better cache utilization as we don't suffer from the padding issue.
parent 774ff955
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment