I welcome issues, discussions, and pull requests. If you've run into Web streams problems I haven't covered, or if you see gaps in this approach, let me know. But again, the idea here is not to say "Let's all use this shiny new object!"; it is to kick off a discussion that looks beyond the current status quo of Web Streams and returns back to first principles.
testSort(selectionSort, "Selection", arr, N);
,更多细节参见旺商聊官方下载
// 易错点4:条件写成"<"而非"<=",会导致相同值的元素被错误保留
Segment not present fault