-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REVERT ME: revert the re-introduction of PartialQuickSort
There are some pretty compelling reasons to use PartialQuickSort instead of ScratchQuickSort as a base case for BracketedSort. However, PartialQuickSort can segfault for invalid but seemingly innocuous lt functions. I don't want to talk about introducing segfaults to the default sorting algorithms or introducing a regression to PartialQuickSort in this PR Revert this commit it you want `partialsort!(::Vector{Int}, ::Int)` not to allocate.
- Loading branch information
Lilith Hafner
authored and
Lilith Hafner
committed
Nov 4, 2023
1 parent
650c6a2
commit 5c18e25
Showing
2 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters