Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Code for a blog post
tree: 1c51954111


This is the repo corresponding to a series of blog posts I'm writing on understanding the details of timsort. It will make more sense more sense read in context with the articles.

One thing important to note: The code as it currently is is not timsort. It's an adaptive mergesort that more or less resembles the core of timsort. As time goes on it will asymptotically converge to something that looks more like timsort.

Something went wrong with that request. Please try again.