Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Our benchmarks consistently show Tim sort as the fastest -stable- sort, But intro sort consistently beats it.


Which benchmarks would that be?

TimSort as implemented in Python goes through the Python machinery of object comparison and object management in general. Make sure you do an apples<->apples comparison when benchmarking.





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

Search: