Help for this page

Select Code to Download


  1. or download this
    my %data;
    
    ...
    real    0m4.075s
    user    0m3.767s
    sys    0m0.289s
    
  2. or download this
    use threads;
    use threads::shared;
    ...
    real    1m4.984s
    user    1m4.211s   ! that's ~16x times slower that the non-shared case
    sys    0m0.540s