Library sort: Difference between revisions

Content deleted Content added
Python Implementation: remove; there's already some C code
Analysis: remove section; all OR and not very convincing
Line 202:
}
</source>
 
==Analysis==
 
[[Image:Library sort graph.png|Library sort runtime for decreasing sequences]]
 
[[Image:Insertion sort graph.png|Insertion sort runtime for decreasing sequences]]
 
The two graphs show the performance of library sort and insertion sort for the same inputs. It is quite clear that library sort takes O(n log n) time approximately while the insertion sort takes O(n<sup>2</sup>) time.
 
== References ==