Comment #3 on issue 2264 by erik.corry: Array.prototype.sort does not call ToString() for identical elements
http://code.google.com/p/v8/issues/detail?id=2264

The standard is intentionally vague about how many times SortCompare is called. Is this result not consistent with SortCompare not being called at all?

"Perform an implementation-dependent sequence of calls to the [[Get]] , [[Put]], and [[Delete]] internal methods of obj and to SortCompare"

In this case the implementation-dependent sequencce does not include any calls to SortCompare.

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

Reply via email to