Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Sorting blocks and efficiency (in Re to Re: Algorithm::Treap)

by hardburn (Abbot)
on Sep 08, 2003 at 14:22 UTC ( #289776=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse -e 'my @a = 0 .. 10; sort @a;'
    my(@a) = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
    ...
    $ perl -MO=Deparse -e 'my @a = 0 .. 10; sort { $a cmp $b } @a;'
    my(@a) = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
    sort @a;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://289776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-12-28 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls