Help for this page

Select Code to Download


  1. or download this
    
    use Benchmark;
    ...
        str[i--] = '\0';
      }
    }
    
  2. or download this
    Benchmark: timing 1000000 iterations of inline, regex...
        inline:  4 wallclock secs ( 4.39 usr +  0.03 sys =  4.42 CPU)
         regex:  8 wallclock secs ( 6.84 usr +  0.03 sys =  6.87 CPU)