diff options
author | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-08-29 22:25:51 +0200 |
---|---|---|
committer | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-09-05 11:52:44 +0000 |
commit | cef14c0ff9a0caaa5b65ab89825534b3fcbd4764 (patch) | |
tree | 46cb93062822bcc7d8c59fe89cb7801954119678 /tests/auto/quick | |
parent | 217bca42934ecf9a5fab74bbddbfa852c9b1bfe6 (diff) |
Allocate QML defined properties without extra room
QV4::MemberData is used to allocate storage for QML defined properties.
QV4::MemberData::reallocate() is multiplying each allocation by two
as a growth strategy. This is a waste of memory for QML defined properties.
This commits extends the QV4::MemberData with an additional method
to allow exactly sized allocations.
Change-Id: I5c0a3a5a3852d39af9e1afb512380fb1400d2448
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/quick')
0 files changed, 0 insertions, 0 deletions