Help for this page

Select Code to Download


  1. or download this
    use Benchmark 'cmpthese';
    use strict;
    
    ...
            );
    
    print 0+%y,$/;
    
  2. or download this
             s/iter %y = map   @y{@x}
    %y = map   2.45       --     -49%
    @y{@x}     1.25      97%       --
    
  3. or download this
    # ...snip
      my ($n,$i,@n,@temp,%arrangements);
      # get size and create all permutations (comma separated)
    ...
      print STDERR scalar(localtime),$/;
      @arrangements{@temp} = undef;
      print STDERR scalar(localtime),$/;
    
  4. or download this
    computing 8-arrangements...
    Mon Sep 30 15:30:31 2002
    Mon Sep 30 15:33:35 2002