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

Implement Yaroslavskiy-Bentley-Bloch Quicksort. #80

Closed
wants to merge 14 commits into from

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    6be4cfd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6b7b02 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. Configuration menu
    Copy the full SHA
    0919c2b View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2021

  1. Configuration menu
    Copy the full SHA
    fc13897 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b1b502 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Configuration menu
    Copy the full SHA
    3e06315 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. Recursively grow stack on heap whenever necessary.

      * Add test with large array of equal floats.
      * Enable optimization for test profile to reduce execution time.
    n3vu0r committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    78d334b View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2023

  1. Configuration menu
    Copy the full SHA
    23782e7 View commit details
    Browse the repository at this point in the history
  2. Avoid worst case complexity for equal elements.

      * Delegate single-index invocation to non-bulk implementation.
      * Non-bulk implementation skips recursion if `index == pivot`.
    n3vu0r committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    359dc0c View commit details
    Browse the repository at this point in the history
  3. Fix sample, allow single-pivot in bulk mode again.

      * Move single-index delegation into recursion allowing single-pivoting
        in bulk mode.
      * Avoid worst case complexity in non-bulk and bulk mode by using dual-pivot
        if both sample choices of single-pivot are equal.
      * Fix first sample index from being skipped.
    n3vu0r committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    4c3ae67 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Configuration menu
    Copy the full SHA
    05b87b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34952ce View commit details
    Browse the repository at this point in the history
  3. Add tests and enlarge arrays.

    n3vu0r committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    4dc45a4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0821516 View commit details
    Browse the repository at this point in the history