As Perl uses quicksort as its sorting algorithm, and that sorting algorithm swaps elements across large distances,Oh, please, ditch your 5.6, and enter the 21st century. ;-).
As of 5.8, Perl uses an implementation of mergesort as its default sorting algorithm.
In reply to Re^2: sort function and parity of the permutation.
by JavaFan
in thread sort function and parity of the permutation.
by latejita
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |