From 4d7f528dde58d05b403037ffdd660b3e55601d62 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 13 Jun 2015 20:36:20 +0200 Subject: QSequentialAnimationGroupPrivate: replace an inefficient QList with QVector ints are only half the size of void* on 64-bit, so QVector uses only 50% of per-element memory, compared to a QList. Change-Id: I18db97d2ec0e46ec4301e8939ac21dff558172b2 Reviewed-by: Olivier Goffart (Woboq GmbH) --- src/corelib/animation/qsequentialanimationgroup_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/animation') diff --git a/src/corelib/animation/qsequentialanimationgroup_p.h b/src/corelib/animation/qsequentialanimationgroup_p.h index 035a553799..fdb97ca83c 100644 --- a/src/corelib/animation/qsequentialanimationgroup_p.h +++ b/src/corelib/animation/qsequentialanimationgroup_p.h @@ -86,7 +86,7 @@ public: // this is the actual duration of uncontrolled animations // it helps seeking and even going forward - QList actualDuration; + QVector actualDuration; void restart(); int lastLoop; -- cgit v1.2.3