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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to