Skip to content

Use grailsort for sort_unstable #81842

Closed as not planned
Closed as not planned
@MusicTheorist

Description

@MusicTheorist

Hello, Rust contributors!

I've been managing a bit of a passion project centered around Grailsort, a stable, in-place, O(n log n) worst-case sorting algorithm, for a while now. It was partially inspired by previous issues brought up in this repo, including #19221 and
rust-lang/rfcs#956 (comment).

Our project is currently focusing on rewriting and documenting Grailsort, with the hopes of making the algorithm much more readable and intuitive.

I was curious if there's still interest in implementing an in-place sort like this for Rust, especially because one of our contributors is maintaining a WIP Rust version of said rewrite in our repo.

https://github.com/MusicTheorist/Rewritten-Grailsort

Feel free to let us know what your thoughts are. Thanks for reading!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-sliceArea: `[T]`T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions