Dear Monks,
The below program is super slow to process a few GB file. I was thinking to do multi-threading to make it faster. Any clues on how I can do it?
Btw, I am reading and writing a gzip file
Thanks in advance.#!/bin/bash/perl open(FH, $ARGV[0]) || die("Cannot open:"); #open(FH, "gunzip -c $ARGV[0] |") or die "gunzip $ARGV[0]: $!"; while(<FH>){ some regex code }
In reply to Multi threading a by dnamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |