• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: reading (parsing) CSV (or Excel) data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: reading (parsing) CSV (or Excel) data
      • From: "I. Savant" <email@hidden>
References: 
 >Re: reading (parsing) CSV (or Excel) data (From: Greg Guerin <email@hidden>)
 >Re: reading (parsing) CSV (or Excel) data (From: Colin Howarth <email@hidden>)

  • Prev by Date: Re: Sleep, NSWorkspaceWillSleepNotification, 30 seconds and the run loop
  • Next by Date: Re: reading (parsing) CSV (or Excel) data
  • Previous by thread: Re: reading (parsing) CSV (or Excel) data
  • Next by thread: Re: reading (parsing) CSV (or Excel) data
  • Index(es):
    • Date
    • Thread