Sorting Algorithms Comparison

The cluster centers on debates about various sorting algorithms like quicksort, radix sort, bitonic sort, insertion sort, and others, comparing their speed, memory usage, stability, and suitability for different scenarios.

📉 Falling 0.4x Programming Languages
6,577
Comments
20
Years Active
5
Top Authors
#7914
Topic ID

Activity Over Time

2007
15
2008
44
2009
113
2010
205
2011
260
2012
233
2013
302
2014
410
2015
269
2016
318
2017
443
2018
308
2019
422
2020
600
2021
515
2022
575
2023
714
2024
312
2025
501
2026
18

Keywords

e.g CUDA QuadSort AI en.m i.e openjdk.java StackOverflow OP lingfil.uu sort sorting algorithm array sorted counting list log algorithms comparison

Sample Comments

Marazan • Feb 24, 2025 • View on HN

You are getting worse closer to sorting networks with that suppositionhttps://en.m.wikipedia.org/wiki/Sorting_network

mgaunard • Oct 5, 2023 • View on HN

Why didn't you consider bitonic sort? It's also a comparison sort, and it's typically the fastest one.

bradknowles • Jun 4, 2022 • View on HN

No sorting is faster than no sorting.

meatmanek • Aug 19, 2010 • View on HN

What, no quick sort? And no heap sort?

charcircuit • Feb 1, 2022 • View on HN

Are the listed applications actual performance wins over more common sorting algorithms?

BeetleB • Jul 17, 2024 • View on HN

He's an AI. He's biased towards sorting algorithms :-)

ufo • Nov 14, 2017 • View on HN

Insertion sort is almost always better isn't it?

pavanky • Nov 21, 2016 • View on HN

Doesn't quicksort have the least memory usage ?

thefifthsetpin • Apr 24, 2024 • View on HN

Quicksort isn't great when comparing two items is expensive.

Retric • Apr 29, 2018 • View on HN

Look at the accuracy comment, it's faster but less accurate than sorting first.