Re: Experience with keyed archiving forward/backwards compatibility?
Re: Experience with keyed archiving forward/backwards compatibility?
- Subject: Re: Experience with keyed archiving forward/backwards compatibility?
- From: Uli Kusterer <email@hidden>
- Date: Sun, 01 Sep 2013 18:26:38 +0200
On Sep 1, 2013, at 17:07, Marcel Weiher <email@hidden> wrote:
> Well, archiving in general is pretty convenient, I am just trying to figure out how significant the benefits of keyed archiving are in particular (as compared to, for example, old style archiving). If you’re on iOS you don’t have a choice, but otherwise it seems the benefits are fairly slim, considering the 2-4x performance penalty.
Honestly, I wouldn’t use non-keyed archiving anymore these days. Either you need performance so badly that you create your own file format (or use something specialized for a particular need, like sqlite), or you use keyed archiving. It’s convenient, already debugged, and flexible.
Premature optimization is the root of all evil.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
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