Re: I don't understand why this is leaking...
Re: I don't understand why this is leaking...
- Subject: Re: I don't understand why this is leaking...
- From: Graham Cox <email@hidden>
- Date: Tue, 12 Aug 2008 20:19:59 +1000
On 12 Aug 2008, at 6:42 pm, Gerriet M. Denkmann wrote:
2. NSKeyedArchiver can only store certain strings (tested in
10.4.11), which makes it absolutely unusable for the storage of
strings if the possible values are not known in advance.
Eh? That's just not true. Can you provide an example of a string that
it can't store? Anything that's NSCoding compliant can be stored, and
NSString is. I'm sure if it weren't someone would have raised merry
hell about it before now. Something's fishy...
As for file sizes, is that really all that relevant these days?
Archives don't store huge amount of overhead compared to the data
itself - saving a few bytes here and there is not worth the pain of
losing the convenience of keyed archiving. Non-keyed archiving
produces inherently very fragile file formats, which are a lot of work
to maintain. Keyed archiving on the other hand, makes handling format
changes trivial.
cheers, Graham
_______________________________________________
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