LGTM with comments re performance impact.

http://codereview.chromium.org/6672027/diff/1/src/array.js
File src/array.js (right):

http://codereview.chromium.org/6672027/diff/1/src/array.js#newcode364
src/array.js:364: var array = ToObject(this);
You probably want IS_ARRAY(this) to be the fast case. E.g. check that
this is not an array before calling ToObject.

http://codereview.chromium.org/6672027/diff/1/src/array.js#newcode365
src/array.js:365: var func = array.join;
Not calling "Join" directly may have performance implications.

http://codereview.chromium.org/6672027/diff/1/src/array.js#newcode374
src/array.js:374: var array = ToObject(this);
Same comment re IS_ARRAY and ToObject.

http://codereview.chromium.org/6672027/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to