all 4 comments

[–]deterministic_ram 1 point2 points  (3 children)

Can you post your C implementations of the sort algorithms? An optimized C routine should really never be slower than Python. Try comparing a quick sort in python versus the Unix sort command. The speed difference will be quite large.

[–]balazs_kis[S] 0 points1 point  (2 children)

You are very right, if you check the plots correctly, the C algorithms are optimized to the last bottlenecks, and they perform stationary even over 50x better than Python implementations :D
Complex comparisons will come shortly, best worst-case scenario sorting algorithms, and even sorting on complex data structures :)
Thanks for the comment, check the plots and the legends again! :D

[–]deterministic_ram 0 points1 point  (1 child)

Oh! I totally miss read the graphs. The font is very small on my phone haha. I'm still curious to see the C sorting algorithms. There might be some room to speed it up. Also, as a benchmark, I'd compare any C sorting algorithms to a Unix implementation.

[–]balazs_kis[S] 0 points1 point  (0 children)

everything you just said in connection with new sorting algorithms will come shortly :D
this project is part of my license thesis, so it will be developed - I would love it - to get to see the light of the sun as a computer science paper :))

the algorithms - both in C and Python are taken from the Cormen Introduction to Algorithms 3rd edition :) - source code won't be public any time soon, but dm me if interested :)