Help for this page

Select Code to Download


  1. or download this
    Benchmark: timing 1000 iterations of filereadbackwards, tailz, tailz1.
    +..
    filereadbackwards:  1612.90/s (n=1000)
                           tailz:  152.91/s (n=1000)
                         tailz1:  12500.00/s (n=1000)
    
  2. or download this
    #!/usr/bin/perl
    use Benchmark;
    ...
    },
    });
    
  3. or download this
    #!/usr/bin/perl -w
    # example for files with max line lengths < 400, but it's adjustable 
    ...
    print "@tail\n";
    exit;