in reply to Re^2: Threads From Hell #2: How To Parse A Very Huge File
in thread Threads From Hell #2: How To Search A Very Huge File [SOLVED]
MCE::Grep is not the tool for this. Calling a code block (once per line) is the reason for the overhead. The testing was done on a CentOS VM. However, the MCE::Loop example showed a way that allows Perl to run faster.
Surely, one is not likely to force a character count. I was mainly comparing the wc binary against the Perl script.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Threads From Hell #2: How To Parse A Very Huge File
by BrowserUk (Patriarch) on May 24, 2015 at 14:22 UTC | |
by marioroy (Prior) on May 24, 2015 at 16:13 UTC | |
by BrowserUk (Patriarch) on May 24, 2015 at 17:39 UTC | |
by marioroy (Prior) on May 24, 2015 at 19:32 UTC | |
by BrowserUk (Patriarch) on May 24, 2015 at 20:15 UTC | |
|