• 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: Zeroing out instance variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zeroing out instance variables


  • Subject: Re: Zeroing out instance variables
  • From: Graham Cox <email@hidden>
  • Date: Sat, 17 Apr 2010 11:27:17 +1000

On 17/04/2010, at 7:05 AM, Ben Haller wrote:

> So, thoughts?  Am I insane?  Is the above scheme safe?  Is there a better way?  Thanks for any feedback!
>
>  (I think this question is appropriate for cocoa-dev rather than the objc-language list, but my apologies if I have posted to the wrong forum...)


My question to you would be: have you profiled this versus the standard object allocation mechanism to see if you're actually gaining anything? My understanding was that the default allocator does something fairly similar already.

--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

  • Follow-Ups:
    • Re: Zeroing out instance variables
      • From: Ben Haller <email@hidden>
References: 
 >Zeroing out instance variables (From: Ben Haller <email@hidden>)

  • Prev by Date: Re: How to empty the Trash programmatically?
  • Next by Date: Re: Zeroing out instance variables
  • Previous by thread: Re: Zeroing out instance variables
  • Next by thread: Re: Zeroing out instance variables
  • Index(es):
    • Date
    • Thread