Unix news is nothing but opensourse - this site features general information about Linux/Unix/Perl programming language.
Wednesday, December 31, 2008
Perl's Sort Function
Under the hood, Perl's sort() function uses the quicksort algorithm, which we'll describe later in the chapter. This is a standard sorting algorithm, provided by most operating systems as qsort(3).* In Versions 5.004_05 and higher, Perl uses its own quicksort implementation instead of the one provided by the operating system. more...