diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2016-01-26 19:45:58 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2016-04-27 15:29:24 +0000 |
| commit | 369572f892a5e748098c038b76b0f4331d2dd201 (patch) | |
| tree | 081718df7b583ef23808bcb6918805a4f11716df /src/corelib/tools/qarraydata.cpp | |
| parent | 4077e28daa55652d7ada776b2702341125516caf (diff) | |
xcb: don't iterate over .keys()
... iterate over the container itself instead. Avoids
temporary QList creation as well as the lookup cost
when actually calling value(key).
Saves more than 1KiB in text size on optimized GCC 6.0
Linux AMD64 builds.
Change-Id: If4b2fb7eada0e9cde72ab101a5f6e5cb1ba64054
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools/qarraydata.cpp')
0 files changed, 0 insertions, 0 deletions
