diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-11-19 12:46:34 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-19 14:39:26 +0100 |
commit | 2602390bdb0c67b6efc7433a00c4981243df8cc5 (patch) | |
tree | 1b0b276850f1e638f4d1cbc728764e775ce70d9b /dist | |
parent | 8b8f8382d66966b3916ea54021449240658bac48 (diff) |
Greatly reduce memory consumed by QQmlEngine instances
Due to a inefficiency in our InternalClass implementation,
we were not sharing the string and attribute table between
internal class instances.
This was extremely inefficient with the Qt object, as it created around
1000 internal classes with large string and property tables. With the
patch these tables are now shared.
Reduces memory consumption of a QQmlEngine instance from around 6.5M
to a couple of 100k.
Change-Id: Ib763f31deca0808c000ac2c30aa0b05e806bda40
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions