AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Glide Sort: A Frankenstein Monster of Glides Sort and Merge Sort
Glide sort is like this Frankenstein monster of Glide sort and merge sort. Why do I want merge sort to be in the mix? Specifically, so I can take advantage of pre sorted runs in the input. So I can take those runs as is and then use them in emerging routine rather than in a quicksort routine who would destroy the order. And that's one of the things that Glide sort really does well.