• 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: NSMutableData capacity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableData capacity


  • Subject: Re: NSMutableData capacity
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 23 May 2012 20:00:12 -0700

On May 23, 2012, at 7:30 PM, Wade Tregaskis wrote:

> If there's a performance concern, using IMP caching.  The cost of the function call to retrieve the bytes pointer is really trivial.

Or just manage your own memory block using malloc / realloc / free. It's not that much more work than using an NSData.

—Jens
_______________________________________________

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


References: 
 >NSMutableData capacity (From: Andreas Grosam <email@hidden>)
 >Re: NSMutableData capacity (From: Jason Teagle <email@hidden>)
 >Re: NSMutableData capacity (From: Wade Tregaskis <email@hidden>)

  • Prev by Date: Re: PDFThumbnailView Problem (kind of)
  • Next by Date: Re: group row custom drawing nstableview
  • Previous by thread: Re: NSMutableData capacity
  • Next by thread: Re: NSMutableData capacity
  • Index(es):
    • Date
    • Thread