Speed of csvReader
Edwin van Leeuwen via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jan 21 05:42:11 PST 2016
On Thursday, 21 January 2016 at 09:39:30 UTC, data pulverizer
wrote:
> StopWatch sw;
> sw.start();
> auto buffer = std.file.readText("Acquisition_2009Q2.txt");
> auto records = csvReader!row_type(buffer, '|').array;
> sw.stop();
Is it csvReader or readText that is slow? i.e. could you move
sw.start(); one line down (after the readText command) and see
how long just the csvReader part takes?
More information about the Digitalmars-d-learn
mailing list