Hacker News new | past | comments | ask | show | jobs | submit login

At Newzbin we used a simple partial quicksort for returning paginated results from our custom search engine - it worked really well for our needs.

It was implemented as a plain old C macro: https://github.com/Freaky/pqsort




Looks a lot like std::partition




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: