Help for this page

Select Code to Download


  1. or download this
    
    h:\>perl benchmark.pl
    ...
    Benchmark: timing 100000 iterations of trimall_v1, trimall_v2...
    trimall_v1: 13 wallclock secs (13.29 usr +  0.00 sys = 13.29 CPU)
    trimall_v2: 12 wallclock secs (11.74 usr +  0.01 sys = 11.75 CPU)
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
        }
        return wantarray ? @out : $out[0];
    }