Skip to content

Sorting: consistently use alg keyword for algorithm selection - #92

Merged
maleadt merged 1 commit into
mainfrom
tb/sort_alg
Sep 3, 2026
Merged

Sorting: consistently use alg keyword for algorithm selection#92
maleadt merged 1 commit into
mainfrom
tb/sort_alg

Conversation

@maleadt

@maleadt maleadt commented Jun 30, 2026

Copy link
Copy Markdown
Member

I liked the way this was done with accumulate.

cc @vchuravy

Make sort!/sort/sortperm!/sortperm the documented surface for choosing a sort implementation via alg=. Remove the docs entries for the algorithm-specific helpers (merge_sort!, sample_sort!, etc.) so alg= is the blessed selection API; the helpers remain available as unexported internals. Update the binary-search example to use the alg keyword.
@christiangnrd

Copy link
Copy Markdown
Member

I rebased this. Should be an easy merge

@maleadt
maleadt merged commit 5b253ab into main Sep 3, 2026
53 of 54 checks passed
@maleadt
maleadt deleted the tb/sort_alg branch September 3, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants