3 ms·
Try using mawk instead of GNU awk. It's much faster than either Perl or gawk in this scenario for me. Roughly 2x. Also, "export LC_ALL=C" typically speeds up
by tyingq 6y ago
Try using mawk instead of GNU awk. It's much faster than either Perl or gawk in this scenario for me. Roughly 2x.
Also, "export LC_ALL=C" typically speeds up gawk quite a lot.
- asicsp 6y agoI did try LC_ALL=C with gawk, but that didn't give any improvement for this case. mawk indeed was much faster