summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/json
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-11-10 11:04:20 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2018-04-08 08:03:15 +0000
commit488c4932366dcba8f6acf56091bd74ff04c5695b (patch)
tree2efc702eb26d7b2f53c536ce9944c5b709f1a2c4 /tests/auto/corelib/serialization/json
parent800119509837f4dfe3b4de1ecd88938ae6b18b71 (diff)
QVariant: Avoid a memory allocation with custom types
Store big or un-movable custom type within the same memory region as the QVariant::PrivateShared. Makes tst_qvariant::bigClassVariantCreation 33% faster Change-Id: I60a757d1f0a9a02cf9ac36fb53a72426b2f8cfa8 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'tests/auto/corelib/serialization/json')
0 files changed, 0 insertions, 0 deletions