Rustacean Station  cover image

Glidesort with Orson Peters

Rustacean Station

00:00

Glyser: A Fast Path for Small Arrays

Glyser automatically sorts an array if it's already partway sorted. It will only sort the unsorted parts and then merge with the sorted part. Glyser does one linear scan through the array and it just checks, hey, is this element less than the last one? And as long as that's true, it will keep accumulating this into a larger and larger section.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app