Help for this page

Select Code to Download


  1. or download this
    qwurx [shmem] ~> perl 574821.pl 6000 7000 10000
    Array size: 10000
    ...
               Rate splicing  radiant
    splicing 46.8/s       --     -66%
    radiant   137/s     193%       --
    
  2. or download this
    # called as insert1( \@ary, 1, $_ ) for $START .. $END
    sub insert1 {
    ...
      @$ra = @$ra[0 .. $index-1], $elem, @$ra[$index .. @$ra-1];
    }
    # called as insert1( \@ary, 1, $_ ) for $START .. $END
    
  3. or download this
    qwurx [shmem] ~> perl 574821.pl 600 700 1000 
    Array size: 1000
    ...
               Rate  radiant splicing
    radiant  30.5/s       --     -98%
    splicing 1672/s    5377%       --
    
  4. or download this
    $ perl -v
    This is perl, v5.8.8 built for i586-linux-thread-multi
    ...