-
Notifications
You must be signed in to change notification settings - Fork 900
Closed
Labels
Ecma IncompatibilityIssues about Rhino being incompatible with the EcmaScript specIssues about Rhino being incompatible with the EcmaScript specgood first issueGreat place to start if you're looking to start an open source "resume"Great place to start if you're looking to start an open source "resume"
Milestone
Description
The greater JavaScript community got excited a while back because "all major JavaScript implementations" have implemented a stable sort for Array.sort().
Rhino, however, has its own sorting implementation in the "Sorting" class that's not stable, as it uses a hybrid quicksort / insertion sort. I realize that this is no longer the state of the art.
(Rhino cannot use the "Collections.sort()" functionality in Java because it does not handle misbehaved comparators in a way that is compatible with the JavaScript specs.)
A great project for an eager computer scientist would be to improve this sorting algorithm.
Metadata
Metadata
Assignees
Labels
Ecma IncompatibilityIssues about Rhino being incompatible with the EcmaScript specIssues about Rhino being incompatible with the EcmaScript specgood first issueGreat place to start if you're looking to start an open source "resume"Great place to start if you're looking to start an open source "resume"