Reduce the memory used by QStringHash
authorAaron Kennedy <aaron.kennedy@nokia.com>
Tue, 7 Feb 2012 13:29:52 +0000 (13:29 +0000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 16 Feb 2012 07:31:21 +0000 (08:31 +0100)
commitacc54f9c0a6367edddb1fb2bba40b3341f9b384c
tree95e4c0ec6e38fd944b6de2d2370d927a45bf1549
parentfbddf793e94b851219fd1c7e71f857099db1cd33
Reduce the memory used by QStringHash

This change reduces the memory consumed by individual QStringHashNodes,
and adds support for "linking" one hash to another that allows us to
avoid copying all the nodes.

Change-Id: Ib5bd151d8ec610a020fd125f46a4e218d959529b
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/qml/ftw/qhashedstring.cpp
src/declarative/qml/ftw/qhashedstring_p.h
src/declarative/qml/qdeclarativepropertycache.cpp
src/declarative/qml/v8/qv8qobjectwrapper.cpp