Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync par_sort* with the standard library #1156

Merged
merged 1 commit into from Apr 5, 2024
Merged

Commits on Apr 4, 2024

  1. Sync par_sort* with the standard library

    Our parallel sort methods were already based on the standard library,
    but they're out of date. Most of that implementation was moved to a
    unified `core::slice::sort` module, with manual allocation functions
    passed from the `alloc` crate and a simplified `Vec`.
    
    This PR updates `rayon` to a unified `slice::sort` based on `core`'s,
    but dropping the manual allocation stuff to just use the real `Vec`. The
    rest of the changes are straightforward parallelization, like using `Fn`
    instead of `FnMut`, and the extended `par_mergesort` additions are still
    the same as we had before.
    cuviper committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    59db658 View commit details
    Browse the repository at this point in the history