|
From: | Jake VanEck |
Subject: | Re: datamash performance question |
Date: | Fri, 25 Jun 2021 17:36:26 -0400 |
Jake VanEck <jake.vaneck@gmail.com> writes:
> I've tried similar commands but doesn't awk need to put the entire dataset
> into memory for this?
No. Absolutely not. It will read the input one line at a time, keeping
the running sums in memory, and it will write out the sums when the
input is exhausted.
If you care about performance, try out mawk specifically. It's a bit
snappier than other implementations.
[Prev in Thread] | Current Thread | [Next in Thread] |