WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
35577
[Qt] QScriptConverter::toString() should use QVarLengthArray instead of QByteArray
https://bugs.webkit.org/show_bug.cgi?id=35577
Summary
[Qt] QScriptConverter::toString() should use QVarLengthArray instead of QByte...
Jędrzej Nowacki
Reported
2010-03-02 04:27:23 PST
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
.
Attachments
Fix v1
(4.16 KB, patch)
2010-03-04 05:56 PST
,
Jędrzej Nowacki
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jędrzej Nowacki
Comment 1
2010-03-04 05:56:02 PST
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(); } }
WebKit Commit Bot
Comment 2
2010-03-07 00:16:17 PST
Comment on
attachment 50008
[details]
Fix v1 Clearing flags on attachment: 50008 Committed
r55634
: <
http://trac.webkit.org/changeset/55634
>
WebKit Commit Bot
Comment 3
2010-03-07 00:16:21 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug