Speed of csvReader

data pulverizer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 21 10:37:08 PST 2016


On Thursday, 21 January 2016 at 18:31:17 UTC, data pulverizer 
wrote:
> Good news and bad new. I was going for something similar to 
> what you have above and both slash the time alot:
>
> Time (s): 1.024
>
> But now the output is a little garbled. For some reason the 
> splitter isn't splitting correctly - or we are not applying it 
> properly. Line 0:
>
> ["100001703051", "RETAIL", "BANK OF AMERICA, 
> N.A.|4.875|207000|3", "0", "03/200", "|05", "2009|75", 
> "75|1|26", "80", "|N", "|", "O ", "ASH", "OU", " 
> REFINANCE|PUD|1|INVE", "TOR", "C", "|801||FRM", "\n\n", "863", 
> "", "FRM"]

I should probably include the first few lines of the file:

100000511550|RETAIL|FLAGSTAR CAPITAL MARKETS 
CORPORATION|5|222000|360|04/2009|06/2009|44|44|2|37|823|NO|NO 
CASH-OUT REFINANCE|PUD|1|PRINCIPAL|AZ|863||FRM
100001031040|BROKER|SUNTRUST MORTGAGE 
INC.|4.99|456000|360|03/2009|05/2009|83|83|1|47|744|NO|NO 
CASH-OUT REFINANCE|SF|1|PRINCIPAL|MD|211|12|FRM
100001445182|CORRESPONDENT|CITIMORTGAGE, 
INC.|4.875|172000|360|05/2009|07/2009|80|80|2|25|797|NO|CASH-OUT 
REFINANCE|SF|1|PRINCIPAL|TX|758||FRM
100001703051|RETAIL|BANK OF AMERICA, 
N.A.|4.875|207000|360|03/2009|05/2009|75|75|1|26|806|NO|NO 
CASH-OUT REFINANCE|PUD|1|INVESTOR|CO|801||FRM
100006033316|CORRESPONDENT|JPMORGAN CHASE BANK, NATIONAL 
ASSOCIATION|5|170000|360|05/2009|07/2009|80|80|1|23|771|NO|CASH-OUT REFINANCE|PUD|1|PRINCIPAL|VA|224||FRM


It's interesting that the output first array is not the same as 
the input


More information about the Digitalmars-d-learn mailing list