Reduce size of QQmlAbstractBinding
authorAaron Kennedy <aaron.kennedy@nokia.com>
Wed, 23 May 2012 10:38:46 +0000 (11:38 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 May 2012 15:50:07 +0000 (17:50 +0200)
commit6ff8aa4b83e801acadd45cc32759ea77cf4532c8
tree564c6585f8ce46321709069708be7d77f17c3779
parent72ac68162e4ab94bb2b62e047a726c119f77df13
Reduce size of QQmlAbstractBinding

The doubly-linked list is unnecessary.  Most bindings are created at
startup, and removed only when the object is destroyed.  In these cases
the double-link buys nothing other than wasted space.  Even when the
bindings are removed earlier, searching the list is not that slow.

Change-Id: I22e1376b78ba712dafd171c7447fbc6ed212b891
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/qml/qml/qqmlabstractbinding.cpp
src/qml/qml/qqmlabstractbinding_p.h
src/qml/qml/qqmlengine.cpp
src/qml/qml/qqmlvaluetypeproxybinding.cpp