Add QFastMetaBuilder
authorAaron Kennedy <aaron.kennedy@nokia.com>
Wed, 20 Jul 2011 07:47:57 +0000 (17:47 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 30 Aug 2011 11:18:28 +0000 (13:18 +0200)
commit28fcf9485b496c986b0b8c88a194d76bec132b4c
treec543df77e1d827b953ea616487c40f20a9c5e52d
parentff18fc0cee6ec7e9f39bb4cfb381e32f495d028f
Add QFastMetaBuilder

This is a faster, but less convenient, version of QMetaObjectBuilder.
The aim is to reduce allocations made during building the meta object
by doing it in two passes - first you reserve all the strings needed
and then you provide their data.

Change-Id: Id9caf9c9c6c2ab6a5219e5cea9363463a4ebf822
Reviewed-on: http://codereview.qt.nokia.com/3763
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/declarative/qml/ftw/ftw.pri
src/declarative/qml/ftw/qfastmetabuilder.cpp [new file with mode: 0644]
src/declarative/qml/ftw/qfastmetabuilder_p.h [new file with mode: 0644]
src/declarative/qml/qdeclarativecompiler.cpp
src/declarative/qml/qdeclarativecompiler_p.h
src/declarative/qml/qdeclarativeparser.cpp
src/declarative/qml/qdeclarativeparser_p.h
src/declarative/qml/qdeclarativevme.cpp