From 8ffb79bbd214c239e414dc4e9cf4569b3219bdab Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 12 Jan 2015 21:55:51 +0100 Subject: Refactor persistent values Use a page wise allocation mechanism for persistent values. This significantly reduces memory consumption of persistent values and also improves their performance a lot. Change-Id: I8499d2ca5bdd871e029f643ae605a94544558bb5 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4global_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4global_p.h') diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index 687ff19be4..5378cc92df 100644 --- a/src/qml/jsruntime/qv4global_p.h +++ b/src/qml/jsruntime/qv4global_p.h @@ -198,7 +198,7 @@ typedef Scoped ScopedArrayObject; typedef Scoped ScopedFunctionObject; typedef Scoped ScopedContext; -struct PersistentValuePrivate; +struct PersistentValueStorage; class PersistentValue; class WeakValue; -- cgit v1.2.3