Help for this page

Select Code to Download


  1. or download this
                Serial    threads  MCE::Hobo  MCE::Loop  MCE::Child
    
    ...
       threads is slow on Cygwin, so stopped due to taking too long.
       My FreeBSD has an older Thread::Queue missing the ->end method.
    
  2. or download this
    use strict;
    use warnings;
    ...
    printf "duration: %0.03f seconds\n", time - $start;
    print scalar(keys %result), "\n"; # 16900
    
  3. or download this
    use strict;
    use warnings;
    ...
        $done->enqueue(0,0);
    }
    
  4. or download this
    use strict;
    use warnings;
    ...
        $done->enqueue(0,0);
    }
    
  5. or download this
    use strict;
    use warnings;
    ...
    printf "duration: %0.03f seconds\n", time - $start;
    print scalar(keys %result), "\n"; # 16900
    
  6. or download this
    use strict;
    use warnings;
    ...
        return \%result;
    }