diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-02-01 21:21:22 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-02-02 22:22:29 +0000 |
commit | 9b14f1cc212f6b67fd6c3dd01c8455e4cdce2b29 (patch) | |
tree | ffcba6918ca280fd844f7184aa39ee7ea0326406 /src/widgets/kernel/win.pri | |
parent | 9cd5c614559159fe09b414d568f88a192405b84d (diff) |
QLayoutEngine: replace an inefficient QList with QVarLengthArray
QList<int> wastes 50% space on 64-bit platforms. Use a more
fitting container. Since the storage is only used temporarily,
try to allocate it on the stack with QVarLengthArray.
Also give it better name than just 'list'.
Change-Id: I3dfb1d5927ac36f4b352b5d91ce0c9401b20705e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/widgets/kernel/win.pri')
0 files changed, 0 insertions, 0 deletions