Read lines from very large text file
Read lines from very large text file
- Subject: Read lines from very large text file
- From: Jacob Rhoden <email@hidden>
- Date: Tue, 03 Feb 2009 00:42:07 +1100
Hi Guys,
I am wondering what the best way to read a text file, line by line, when
the file size is much larger than available memory.
I know there are helper functions like
stringWithContentsOfFile:encoding:error:, but this implies having to
load the entire file in memory. Google has not been of much extra help here.
Thanks!
Jacob
____________________________________________
Jacob Rhoden http://jacobrhoden.com
_______________________________________________
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