Re: Read lines from very large text file
Re: Read lines from very large text file
- Subject: Re: Read lines from very large text file
- From: Michael Ash <email@hidden>
- Date: Mon, 2 Feb 2009 18:08:29 -0500
On Mon, Feb 2, 2009 at 3:51 PM, Jacob Rhoden <email@hidden> wrote:
> Yea, I saw this and some posts on the apple forum saying NSInputStream is
> not the right way, hence the question, what is the right way to analyze a
> very large file line by line.
>
> cf the apple thread
> http://discussions.apple.com/thread.jspa?threadID=1187120&tstart=400
Well, they're wrong. That whole thread is basically just full of
various kinds of wrong. NSInputStream has +inputStreamWithFileAtPath:,
why else would that exist?
NSInputStream is not *the* way to do it, but it is certainly one
perfectly valid way.
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