Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Rosetta Code: Long List is Long -- parallel

by marioroy (Prior)
on Dec 01, 2022 at 06:37 UTC ( [id://11148469]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Modification: our (%by_count, %by_word);
    $ time perl choroba_mod.pl big1.txt big2.txt big3.txt >oo1.txt
    ...
    # Verify correctness:
    $ diff cpp.tmp oo1.txt  # choroba
    $ diff cpp.tmp oo2.txt  # MCE  4 workers
    
  2. or download this
    #!/usr/bin/env perl
    # https://www.perlmonks.org/?node_id=11148465
    ...
    
    warn "final sort + output: ", $tend2 - $tstart2, " secs\n";
    warn "total: ", $tend2 - $tstart1, " secs\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11148469]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-23 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found