Re: reading (parsing) CSV (or Excel) data
Re: reading (parsing) CSV (or Excel) data
- Subject: Re: reading (parsing) CSV (or Excel) data
- From: Mike Abdullah <email@hidden>
- Date: Fri, 2 Oct 2009 11:34:27 +0100
On 2 Oct 2009, at 02:37, Colin Howarth wrote:
Thanks everyone!
The idiot savant was first to point out the http://macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data
link. And that one refers also to the cocoadev site.
As a warning, that particular bit of code is pretty inefficient due to
its use of NSMutableCharacterSet. You will find that with any large-
ish data set it starts allocating vast quantities of memory. But not
to worry, it's dead easy to fix; just make sure you -copy to create an
NSCharacterSet before scanning and it will be more efficient.
Mike.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden