[webkit-reviews] review requested: [Bug 122084] optimize jsarray setlength : [Attachment 212944] optimze jsarray setlength

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 29 19:36:08 PDT 2013


Peng Xinchao <xinchao.peng at samsung.com> has asked  for review:
Bug 122084: optimize jsarray setlength
https://bugs.webkit.org/show_bug.cgi?id=122084

Attachment 212944: optimze jsarray setlength
https://bugs.webkit.org/attachment.cgi?id=212944&action=review

------- Additional Comments from Peng Xinchao <xinchao.peng at samsung.com>
 JSC Engine Optimize 'var ret =[] ; ret.length=1024' .When type of  ret is
undefine and it   is setted length , its only public length is setted ,but its
vector is not setted . the memory of variable ret is not changed .When the type
of variable ret is confirm , its will allocate memory by public length.


More information about the webkit-reviews mailing list