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: "Michael Ash" <email@hidden>
- Date: Tue, 12 Aug 2008 12:59:18 -0400
On Tue, Aug 12, 2008 at 12:50 PM, Klaus Backert
<email@hidden> wrote:
> About $Null:
>
>> It it were a reserved word, it would be documented so.
>
>
> The "Archives and Serializations Programming Guide for Cocoa" says:
>
> Keyed Archives
> ...
> Naming Values
> ...
> You should avoid using "$" as a prefix for your keys. The keyed archiver and
> unarchiver use keys prefixed with "$" for internal values. Although they
> test for and mangle user-defined keys that have a "$" prefix, this overhead
> slows down archiving performance.
> ...
This is not a reserved word. This is merely a class of keys which can
result in lower archiving performance (although still perfectly
correct behavior). What's being discussed here is a case where a
certain *value* (not a key) results in incorrect *behavior* (not just
reduced speed).
Mike
_______________________________________________
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