Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    timethese(100_000, {join => \&joinit,
                        slash => \&dollarslash} );
    
  2. or download this
    Benchmark: timing 100000 iterations of join, slash...
          join:  2 wallclock secs ( 1.52 usr +  0.29 sys =  1.81 CPU)
         slash:  4 wallclock secs ( 2.99 usr +  0.35 sys =  3.34 CPU)