logoalt Hacker News

nick__myesterday at 10:16 PM2 repliesview on HN

  if you apply quicksort to 2^20 random integers, at some point you're sorting 2^17 8-integer subpartitions
why not use an 8 wide optimal sort network for those 8 integers?

Replies

pieter3dtoday at 7:18 AM

I think because they are not necessarily consecutive.

observationistyesterday at 10:29 PM

Embarrassingly parallel sort, lol.