Reserve a double slot for accessor properties
authorLars Knoll <lars.knoll@digia.com>
Thu, 6 Mar 2014 09:13:26 +0000 (10:13 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Mar 2014 20:15:58 +0000 (21:15 +0100)
commit19cd5c46693a287c08025c01ded8eaf140e21317
treec24bb7cc6cb0a3bfcd957e1c654c45b1a67f73ab
parent6a0d0c8f7eff456b7ad6ad7609275410cb8d8f1c
Reserve a double slot for accessor properties

Reserve two slots in the internal class for accessor
properties. This opens up reducing the default storage
required per data property to one Value. In practice
this implies cutting the required memory in half.

Change-Id: Ifed897852bbdfd810018f0d6b049fca6690ead2c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4internalclass.cpp
src/qml/jsruntime/qv4internalclass_p.h
src/qml/jsruntime/qv4object.cpp
src/qml/qml/v8/qv8engine.cpp