in reply to Stable sorting in Perl
NAME
sort - perl pragma to control sort() behaviour
SYNOPSIS
use sort 'stable'; # guarantee stability
use sort '_quicksort'; # use a quicksort algorithm
use sort '_mergesort'; # use a mergesort algorithm
use sort 'defaults'; # revert to default behavior
no sort 'stable'; # stability not important
use sort '_qsort'; # alias for quicksort
my $current = sort::current(); # identify prevailing algorithm
Liz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Stable sorting in Perl (old)
by tye (Sage) on Aug 27, 2003 at 19:24 UTC | |
by wirrwarr (Monk) on Aug 28, 2003 at 07:13 UTC | |
by sweetblood (Prior) on Aug 27, 2003 at 19:43 UTC | |
by demerphq (Chancellor) on Aug 27, 2003 at 23:14 UTC | |
|
Re: Re: Stable sorting in Perl
by sweetblood (Prior) on Aug 27, 2003 at 19:41 UTC | |
by liz (Monsignor) on Aug 27, 2003 at 19:50 UTC | |
by sweetblood (Prior) on Aug 28, 2003 at 16:45 UTC |