Help for this page

Select Code to Download


  1. or download this
    cmpthese -1, {
        shared => q[ my $x : shared; ++$x for 1 .. 1e6 ],
    ...
              s/iter    shared nonshared
    shared      1.31        --      -89%
    nonshared  0.141      834%        --
    
  2. or download this
     read       |   xform       |  write
    thread      |  thread       |  thread
    ...
                |               |               
                |               |