You are right, you'd need to presort... Not sure if that's better.


https://codereview.chromium.org/679113003/diff/1/src/array.js
File src/array.js (right):

https://codereview.chromium.org/679113003/diff/1/src/array.js#newcode275
src/array.js:275: if (new_key > 0xffffffff) {
Shouldn't this be >=?

NOTE A String property name P is an array index if and only if
ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2^
32-1.

https://codereview.chromium.org/679113003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to