khaunda has asked for the wisdom of the Perl Monks concerning the following question:
My task is to merge them to a single file in format likeNAME CLIENT VAL1 VAL2 VAL3 aa bb 4 4 5 aa cc 4 4 5 Second File aa bb 4 4 5.34 aa dd 4 4 4.05 THird File aa bb 4 4 5.34 aa dd 4.1 4.3 4.05 aa ff 4.3 0 3.4
In practice each file is very big containing around 8-9 k lines. I have written some code which gives the result but it is taking time around 25-30 minutes. I am looking for a solution which can take less time may b by using parallel processing or wateverNAME CLIENT VAL1 VAL2 VAL3 aa bb <sum from allfiles> <sum from all files> <do> aa cc -------- do ----------- aa dd ------- do ----------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Fast Processing
by BrowserUk (Patriarch) on Nov 23, 2010 at 11:37 UTC | |
|
Re: Fast Processing
by moritz (Cardinal) on Nov 23, 2010 at 10:46 UTC | |
|
Re: Fast Processing
by marto (Cardinal) on Nov 23, 2010 at 10:43 UTC | |
|
Re: Fast Processing
by anonymized user 468275 (Curate) on Nov 23, 2010 at 15:01 UTC | |
|
Re: Fast Processing
by fisher (Priest) on Nov 23, 2010 at 10:42 UTC |