Skip to content

Sorting: consistently use alg keyword for algorithm selection#92

Open
maleadt wants to merge 1 commit into
mainfrom
tb/sort_alg
Open

Sorting: consistently use alg keyword for algorithm selection#92
maleadt wants to merge 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.
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.

1 participant