• 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: very different execution time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: very different execution time


  • Subject: Re: very different execution time
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 28 Sep 2007 08:18:09 -0600
  • Thread-topic: very different execution time

Yes, NSMutableArray primitive operations are much slower than a straight C
array would be. Usually this doesn't matter, because usually the time spent
manipulating arrays is only a small fraction of total time.

If you want high performance, with a richer interface (such as easy ability
to resize) than plain C arrays, consider using Objective-C++ and STL.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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: 
 >very different execution time (From: Hans van der Meer <email@hidden>)

  • Prev by Date: Re: Best practice for Core Data "ordered" NSArray problem?
  • Next by Date: Re: How to load Flash Player.plugin?
  • Previous by thread: Re: very different execution time
  • Next by thread: Re: very different execution time
  • Index(es):
    • Date
    • Thread