On Sep 9, 2008, at 3:24 AM, Alex Reynolds wrote:
I am currently putting 320 to 480 character long NSString * instances into an NSMutableArray. The characters are 0 or 1.I guess I could use an int array, but I'm looking to speed up my app and reduce storage. Is it possible to create a BOOL array that can be put into an NSMutableArray?Thanks, Alex
Hi! You might save some memory by using [NSNumber numberWithBool:YES] and [NSNumber numberWithBool:NO] as your NSMutableArray contents -- that way you're not wasting strings.
Cheers, Andrew
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 [EMAIL PROTECTED]