Skip to content
  • Milian Wolff's avatar
    Optimize: use QVarLengthArray<QChar> instead of QList<QChar> · 6fa81bed
    Milian Wolff authored
    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.
    6fa81bed