• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: I don't understand why this is leaking...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: I don't understand why this is leaking...
      • From: "Gerriet M. Denkmann" <email@hidden>
    • I don't understand why this is leaking...
      • From: Klaus Backert <email@hidden>
References: 
 >Re: I don't understand why this is leaking... (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: I don't understand why this is leaking... (From: Graham Cox <email@hidden>)
 >Re: I don't understand why this is leaking... (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: I don't understand why this is leaking... (From: Graham Cox <email@hidden>)
 >Re: I don't understand why this is leaking... (From: "Gerriet M. Denkmann" <email@hidden>)
 >I don't understand why this is leaking... (From: Klaus Backert <email@hidden>)

  • Prev by Date: Re: Disc write speed options
  • Next by Date: Re: Determine who ran an application
  • Previous by thread: Re: I don't understand why this is leaking...
  • Next by thread: I don't understand why this is leaking...
  • Index(es):
    • Date
    • Thread