On 6/13/13 at 12:24 PM, [email protected] (Oliver Hunt) wrote:

I believe that the spec should mandate a stable sort, but i'm not sure just how far we can go in trying to standardize exact behavior of the sort without tying implementations to a single implementation for all time.

One possibility which will allow implementations to include a more performant sort is to specify two sorts:

  sort - which is stable
unstablestort - which is either an alias for sort or is a faster unstable sort.

Cheers - Bill

---------------------------------------------------------------------------
Bill Frantz |"Web security is like medicine - trying to do good for
408-356-8506       |an evolved body of kludges" - Mark Miller
www.pwpconsult.com |

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to