QScriptConverter::toString() should use the QVarLengthArray instead of the QByteArray. The QVarLengthArray uses stack memory allocation which is faster. The enhancement was suggested in bug 34850.
Created attachment 50008 [details] Fix v1 The patch reduces run time of the QScriptValue::toString() about 2 ms per iteration. So it is about 3.5% speed gain in a simple benchmark like this: { QScriptValue v(112312.234334); QBENCHMARK { v.toString(); } }
Comment on attachment 50008 [details] Fix v1 Clearing flags on attachment: 50008 Committed r55634: <http://trac.webkit.org/changeset/55634>
All reviewed patches have been landed. Closing bug.