Avoid a lot allocations in KConfig: We anyway free this QByteArray direcly after use, no need to shrink it, which only leads (if at all) to unnecessary allocations.
Seen in e.g. heaptrack with Kate. (btw., thanks to Milian for writing that :)
dfaure |
Frameworks |
Avoid a lot allocations in KConfig: We anyway free this QByteArray direcly after use, no need to shrink it, which only leads (if at all) to unnecessary allocations.
Seen in e.g. heaptrack with Kate. (btw., thanks to Milian for writing that :)
Given it only alters the allocation behavior, no changes visible, beside less heap allocs.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |