timsort

Grokking Timsort

There's a (relatively) new sort on the block called Timsort. It's been used as Python's list.sort, and is now going to be the new Array.sort in Java 7). There's some documentation and a tiny Wikipedia article describing the high-level properties of the sort and some low-level performance evaluations, but I was curious if anybody can pro...

fast, clean, C, timsort implementation?

Does anyone know of a clean C/C++ implementation of timsort? The Python sources contain a description and code for the original timsort, but it is understandably full of python-specific calls. Thanks! ...

fastest way to sort the entries of a "smooth" 2D array

What is the fastest way to sort the values in a smooth 2D array? The input is a small filtered image: about 60 by 80 pixels single channel single or double precision float row major storage, sequential in memory values have mixed sign piecewise "smooth", with regions on the order of 10 pixels wide Output is a flat (about 4800 value)...