Thank you all very much for your detailed feedback!
I wound up pulling the "TREE_GRM_ESTN.csv" file referred to by
Jon and used it in subsequent tests. Created D-programs for
reading directly through a File() structure, versus reading
byLine() from the stdin alias.
After copying the large
On Thursday, 13 August 2020 at 14:41:02 UTC, Steven Schveighoffer
wrote:
But for sure, reading from stdin doesn't do anything different
than reading from a file if you are using the File struct.
A more appropriate test might be using the shell to feed the
file into the D program:
dprogram <
On 8/12/20 6:44 PM, methonash wrote:
Hi,
Relative beginner to D-lang here, and I'm very confused by the apparent
performance disparity I've noticed between programs that do the following:
1) cat some-large-file | D-program-reading-stdin-byLine()
2) D-program-directly-reading-file-byLine()
On Thursday, 13 August 2020 at 07:08:21 UTC, Jon Degenhardt wrote:
Test Elapsed System User
--- --
tsv-select -f 2,3 FILE 10.280.42 9.85
cat FILE | tsv-select -f 2,311.101.45 10.23
cut -f 2,3 FILE
On Wednesday, 12 August 2020 at 22:44:44 UTC, methonash wrote:
Hi,
Relative beginner to D-lang here, and I'm very confused by the
apparent performance disparity I've noticed between programs
that do the following:
1) cat some-large-file | D-program-reading-stdin-byLine()
2)
Hi,
Relative beginner to D-lang here, and I'm very confused by the
apparent performance disparity I've noticed between programs that
do the following:
1) cat some-large-file | D-program-reading-stdin-byLine()
2) D-program-directly-reading-file-byLine() using File() struct
The D-lang