Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by hardburn (Abbot)
on Sep 08, 2003 at 14:22 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://289776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-19 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found