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: Jason Coco <email@hidden>
- Date: Tue, 12 Aug 2008 13:05:30 -0400
On Aug 12, 2008, at 12:50 , Klaus Backert 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.
...
In this case, however, it's the actual value being encoded... not the
key name. Also, if you read it, it suggests that you shouldn't use it
for performance reasons. It specifically states that it is supposed to
properly mangle the $ in a key name (causing the performance loss)...Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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