From c7cb92f43f97ef5558eee0d7be6f18192134f3ec Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 12 Apr 2015 02:50:18 +0200 Subject: Replace NodeVector by ManagedVector where NodeVector functionality is not needed. Reduces calls to "Manager.registerEvent" to <10% of original value --- src/plugins/xml/XmlOutput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/xml/XmlOutput.cpp') diff --git a/src/plugins/xml/XmlOutput.cpp b/src/plugins/xml/XmlOutput.cpp index 516fc22..5713f29 100644 --- a/src/plugins/xml/XmlOutput.cpp +++ b/src/plugins/xml/XmlOutput.cpp @@ -656,7 +656,7 @@ void transformChildren(DocumentEntity *parentEntity, Handle parent, TransformParams &P) { - NodeVector fieldDescs = + ManagedVector fieldDescs = parentEntity->getDescriptor()->getFieldDescriptors(); for (size_t f = 0; f < fieldDescs.size(); f++) { @@ -787,4 +787,4 @@ Rooted transformPrimitive(Handle parent, Handle type, return text; } } -} \ No newline at end of file +} -- cgit v1.2.3