Definition: A variant of quicksort which switches to heapsort for pathological inputs, that is, when execution time is becoming quadratic.
Also known as introsort.
David R. Musser, Introspective Sorting and Selection Algorithms, Software-Practice and Experience, 8:983-993, 1997.
If you have suggestions, corrections, or comments, please get in touch with Paul Black.
Entry modified 12 October 2010.
HTML page formatted Wed Mar 13 12:42:46 2019.
Cite this as:
Paul E. Black, "introspective sort", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed. 12 October 2010. (accessed TODAY) Available from: https://www.nist.gov/dads/HTML/introspectiveSort.html