Store int/bool/double/string and sizef as QV4::Value in a Javascript array
authorFrank Meerkoetter <frank.meerkoetter@basyskom.com>
Tue, 14 Jul 2015 20:38:51 +0000 (22:38 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Tue, 18 Aug 2015 20:25:19 +0000 (20:25 +0000)
commit7e61bc92a3dccbd4c04d0a69da950cfdc32e487b
treeb00ebc37e92a7ad2b252651d69edc285a7bb807f
parenta820a56eb5a8e4f21ca4a04efe816e40b5645cef
Store int/bool/double/string and sizef as QV4::Value in a Javascript array

This is the first patch in a series of patches removing the QQmlVMEVariant
used for the storage of non-var properties. The overall goal is to reduce the
memory usage of QML. The QQmlVMEVariant has a size of 8*sizeof(void*) +
sizeof(int) which is quite an overhead for types such as int/bool or double.

Change-Id: I301661d134724300942911a3d75258fe45356a7a
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/qml/qqmlvmemetaobject.cpp
src/qml/qml/qqmlvmemetaobject_p.h