summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmapcache.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-17 12:51:45 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-06-19 16:30:03 +0000
commit9ab45763d7d5fddf54f373f3e2e19ddcb85e5144 (patch)
tree1b0e3843a3e57bbd7ade73d33328f4b78d6cd46e /src/gui/image/qpixmapcache.h
parent855828978059bbc414f60f3f9eb5e06ea2c28ddc (diff)
QSpdyProtocolHandler: don't create QLists of key and value just to iterate over
Just iterate over the QMultiMap directly. Also, now that we use iterators, the remove operation becomes amortized O(1) instead of O(logN). The loop could be even O(N) (clean, not amortized) if QMap had range-erase. Change-Id: I0cf3511adc3a558e551ddd91e47dabcab376001a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/image/qpixmapcache.h')
0 files changed, 0 insertions, 0 deletions