diff options
| author | Simon Hausmann <simon.hausmann@qt.io> | 2018-07-20 11:57:38 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-07-30 19:46:51 +0000 |
| commit | 7c1c016ced09c62ce0d857aef5ea734b7c35f394 (patch) | |
| tree | 756826d7c714e8686d7fe77d54985b0bd762b5d9 /src/qml/jsruntime/qv4arrayobject.cpp | |
| parent | d08f437e3fb0bc6a2c9c1b63f955c223851ff6d8 (diff) | |
Shrink the size of CompiledData::Function by 16 bytes
It was previously 68 bytes but rounded up to 72 to be multiple of 8.
After removing the rarely used qml offset table properties and
calculating them on the fly instead, the data structure shrinks to 56
bytes.
Saves 2.8K on examples/quickcontrols/extras/flat/Content.qml and about
~22K RAM on the gallery.
Task-number: QTBUG-69588
Change-Id: I13d1efae7fa1dff96674d937ffbad002c2f703c8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4arrayobject.cpp')
0 files changed, 0 insertions, 0 deletions
