Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

RE: How can I improve this?

by ferrency (Deacon)
on Jul 25, 2000 at 07:31 UTC ( #24239=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    for my $a (0..@a) {
      for my $b (0..@b) {
    # Now sort according to the number of zeros
    return sort {$permutation{$a} <=> $permutation{$b}} keys %permutation;
  2. or download this
    return sort {$permutation{$a} <=> $permutation{$b} ||
                 $a cmp $b} keys %permutation;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://24239]
[erix]: I would have thought that alignment is an important optimizing consideration for most (large) software -- I know it is for postgres...
[marto]: "left a bit... left a bit.... left a bit.... too far :("
[erix]: and whence the Host in "Host C" Corion?

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-04-25 09:51 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (449 votes). Check out past polls.