QHeaderView - create a union to save some space.
authorThorbjørn Lund Martsum <tmartsum@gmail.com>
Mon, 20 Feb 2012 15:11:31 +0000 (16:11 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Feb 2012 11:52:00 +0000 (12:52 +0100)
commit13f3346d34c007727f60f9ee73805bcc0aa1c04b
tree2eac92376eedb198e491d221ebc1cfef93470f75
parenta4e4c3100780be27070c8916d25a9f7c461d1e11
QHeaderView - create a union to save some space.

Beside saving some space it also ensures a bit faster vector operations
(remove and insert memcpy) - and lower the risk for a cache-miss.
(Many operations seems to be about 5-10% faster in the benchmark).

Change-Id: If8109e2146c25f642015906375dfbb449706ce8e
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/itemviews/qheaderview_p.h