Skip to content

Commit

Permalink
references changes, plus mentioning complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
nlw0 committed Oct 4, 2022
1 parent b4d21d1 commit 8023013
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/SortingAlgorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,18 @@ The interval decreases exponentially until it becomes 1, then
it switches to insertion sort on the whole input.
Characteristics:
- *not stable*: does not preserve the ordering of elements which
- *not stable* does not preserve the ordering of elements which
compare equal (e.g. "a" and "A" in a sort of letters which
ignores case).
- *in-place* in memory.
- *parallelizable* suitable for vectorization with SIMD instructions
because it performs many independent comparisons.
- *complexity* worst-case only proven to be better than quadratic, but not `n*log(n)`.
## References
- Werneck, N. L., (2020). "ChipSort: a SIMD and cache-aware sorting module. JuliaCon Proceedings, 1(1), 12, https://doi.org/10.21105/jcon.00012
- H. Inoue, T. Moriyama, H. Komatsu and T. Nakatani, "AA-Sort: A New Parallel Sorting Algorithm for Multi-Core SIMD Processors," 16th International Conference on Parallel Architecture and Compilation Techniques (PACT 2007), 2007, pp. 189-198, doi: 10.1109/PACT.2007.4336211.
- Werneck, N. L., (2020). ChipSort: a SIMD and cache-aware sorting module. JuliaCon Proceedings, 1(1), 12, https://doi.org/10.21105/jcon.00012
- Vitányi, Paul M. B., (2007). "Analysis of Sorting Algorithms by Kolmogorov Complexity (A Survey)." doi: 10.1007/978-3-540-32777-6
"""
const CombSort = CombSortAlg()

Expand Down

0 comments on commit 8023013

Please sign in to comment.