in reply to Re^3: How to optimize a regex on a large file read line by line ?
in thread How to optimize a regex on a large file read line by line ?

Thank you. Finally some numbers from the same machine.

It's good to see that perl is in the same ballpark with (and sometimes better than) grep+wc.

  • Comment on Re^4: How to optimize a regex on a large file read line by line ?

Replies are listed 'Best First'.
Re^5: How to optimize a regex on a large file read line by line ?
by marioroy (Prior) on Apr 22, 2016 at 07:04 UTC

    I had to run the tests again after booting my Mac and seeing that things were snappier. Perhaps, something was running in the background when testing the first time. Maybe, the virtual disk containing the 2GB file was defragmented between then and now. Am not sure really.

    Timings for the upcoming MCE 1.706 release are included for comparison.