[Webkit-unassigned] [Bug 110718] New: Array.prototype.sort is not quite stable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 24 17:14:30 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=110718
Summary: Array.prototype.sort is not quite stable
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: richard.gibson at gmail.com
The results of sorting length-N arrays for sufficiently large N appear to differ from a stable sort only at indices 0, 1, and N/2. It would be very convenient for Sizzle and jQuery if the sort were made fully stable, *especially* if such change lands in 537.32 so there's no release in which #108274 is fixed but this is not.
Example with strings: http://jsfiddle.net/zTprj/1/
Example with DOM nodes: http://jsfiddle.net/vU2uB/
jQuery tickets: http://bugs.jquery.com/ticket/13505 http://bugs.jquery.com/ticket/13331
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list