in reply to Re: Perl sorting unique values
in thread Perl sorting unique values
The sort-then-uniq strategy will handle data of any quantity and will do so with linear performance.
When will you get it through your thick skull that sorting is not linear; it is O(N log N). And disk sorting slower still.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl sorting unique values
by pr09 (Novice) on Jun 23, 2011 at 05:38 UTC | |
by pr09 (Novice) on Jun 23, 2011 at 08:06 UTC |
In Section
Seekers of Perl Wisdom