diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2014-12-19 20:35:53 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@viroteck.net> | 2014-12-19 21:52:54 +0100 |
commit | 9b43867c06ed56ff3c636892af43013842ea12a1 (patch) | |
tree | 38aa1403df7c9779c93f671d5ab91e83287f4f8d /src/qml/jsruntime/qv4scopedvalue_p.h | |
parent | 05bf96997c52775f14cfd4e34d25187feec897e0 (diff) |
QQmlJS::Lexer::scanNumber: Use a QVarLengthArray to avoid heap allocations.
This shaved the time of this function in half on an (admittedly very morbid)
testcase of mine, from 161ms to 72ms total.
Change-Id: I88ad8d4ad4791dc4e7eadb9af9265ff02fe5376f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4scopedvalue_p.h')
0 files changed, 0 insertions, 0 deletions