Timeline for Faster way of reading csv to grid
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 4, 2013 at 19:16 | answer | added | Dan Lyons | timeline score: 6 | |
Jan 4, 2013 at 16:47 | history | tweeted | twitter.com/#!/StackCodeReview/status/287238852760973312 | ||
Jan 4, 2013 at 16:28 | answer | added | Bobson | timeline score: 2 | |
Jan 4, 2013 at 15:51 | comment | added | Mark Hurd |
I haven't used it, but there's a CSV parser in the VB.NET runtime. It is Microsoft.VisualBasic.FileIO.TextFieldParser . It is probably not faster but will cater for quotes, etc.
|
|
Jan 4, 2013 at 14:02 | comment | added | Adam |
Never rely on Exception.Message to determine the type of an exception! Catch the right one instead.
|
|
Jan 4, 2013 at 13:46 | answer | added | Paul Turner | timeline score: 4 | |
Jan 4, 2013 at 13:41 | answer | added | Ekkehard.Horner | timeline score: 8 | |
Jan 4, 2013 at 12:49 | review | First posts | |||
Jan 4, 2013 at 13:48 | |||||
Jan 4, 2013 at 12:48 | comment | added | Alois Kraus | Do you have a multi core machine? Then you can parse in parallel. Does the CSV files contain redundant data? In this case it does make sense to intern strings to reduce memory load. The main issue why parsing does become slower is that you need more memory to hold the data. | |
Jan 4, 2013 at 12:48 | answer | added | Sven | timeline score: 1 | |
Jan 4, 2013 at 12:34 | history | asked | Pratik | CC BY-SA 3.0 |