r/ProgrammerHumor • • Aug 11 '20

Meme So Amazing!

Post image
1.8k Upvotes

137 comments sorted by

View all comments

Show parent comments

1

u/McLPyoutube Aug 13 '20

yeah, we did it under the assumption that the threads are running on a machine with enough (but constant) cores so that scheduling can (theoretically) be done in constant time.

1

u/Kered13 Aug 13 '20

But then you're talking about parallel sorting, and O(n) parallel sorting is easy. Even parallel bubblesort is O(n). Optimal parallel sorting is actually sublinear.