Optimize QML parser
authorMartin Jones <martin.jones@nokia.com>
Fri, 18 May 2012 04:24:59 +0000 (14:24 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 May 2012 00:35:03 +0000 (02:35 +0200)
commit6e55080ddca35ffb06cb212143b98d96f09549c7
tree88d84771cf962a46219fa31590cbc9ee4e567d6b
parentf9f00b3fb64809b7bc52e220a995536e0bd91af6
Optimize QML parser

Inlining and faster number parsing.  Reduces parsing of large
project from 20.5mil instr to 19mil instr.

Change-Id: I83aff3eaf03fd19b07f5e84ec6f9d17b7f0cb931
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/qml/qml/parser/qqmljslexer.cpp
src/qml/qml/parser/qqmljslexer_p.h