• 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: NSMutableArray + NSEnumerator = No Memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableArray + NSEnumerator = No Memory


  • Subject: Re: NSMutableArray + NSEnumerator = No Memory
  • From: Kai BrĂ¼ning <email@hidden>
  • Date: Mon, 24 Sep 2007 19:26:44 +0200

Hi,

[snip]

>3 - Abandon NSArray and roll my own collection.

If you investigate this option further, you may want to evaluate use of an STL container with Objective C++. Besides being well tested and having very well defined behavior, inlining can give you dramatic performance boosts in some cases - it depends on your data and algorithm, of course.
Unfortunately there's a learning curve connected with STL, its programming style differs considerable from Cocoa/Core Foundation.

Best regards
Kai
_______________________________________________

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: 
 >NSMutableArray + NSEnumerator = No Memory (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Issue with getting availableData from NSFileHandle on Intel Mac.
  • Next by Date: drag and drop images to NSWindow doesn't work
  • Previous by thread: Re: NSMutableArray + NSEnumerator = No Memory
  • Next by thread: Editing an attribute of an NSManagedObject fires fault for to-many relationships of that object?
  • Index(es):
    • Date
    • Thread