Re: searching a string in big file
Re: searching a string in big file
- Subject: Re: searching a string in big file
- From: Arie Pieter Cammeraat <email@hidden>
- Date: Sat, 13 Jun 2009 08:46:16 +0200
you can use some methods of NSString, but I doubt wether NSString
performs well with really big string.
I once tried to work with the Unix tool 'grep' for searching
something in the iTunes Library xml file. That was amazingly fast!
You can use it in cocoa with NSPipe etc.
Op 13-jun-2009, om 7:55 heeft Angelo Chen het volgende geschreven:
Hi,
I need to open a big file and search for a certain string, if
found, I need tup do some updates and write back the file, any idea
what approach I should take? Thanks,
Angelo
Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://
hk.promo.yahoo.com/security/ 了解更多!
_______________________________________________
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:
40yaranga.nl
This email sent to email@hidden
_______________________________________________
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