Branch: refs/heads/main
Revision: 5526b20c60423b164717ccebf05e1adb43107c8d
Author: mppf
Link: Update proc sort docs about quick sort by mppf · Pull Request #24319 · chapel-lang/chapel · GitHub
Log Message:
Update proc sort docs about quick sort (#24319)
This PR updates the docs comment for proc sort to:
- make a correction because quickSort is parallel now
- use the term "improved quick sort" to avoid an interpretation that it
is Hoare's original quickSort.
See
Reviewed by @vasslitvinov - thanks!
Open Question:
- should it, when describing the quick sort, cite Engineering a Sort
Function (1993) by Jon L. Bentley , M. Douglas McIlroy ? Citing this in
theproc sortdocs about the current implementation seems like
including more information than is needed / necessary there, but we
could do it. I don't have a similar radix sort paper to reference at the
ready, either. - for now I opted not to include this reference in the implementation
note, but it would be OK to add it in the future
Diff:
M modules/packages/Sort.chpl
https://github.com/chapel-lang/chapel/pull/24319.diff