On Sep 22, 2010, at 2:46 PM, Oleg Krupnov wrote: > I think that if I add them one-by-one in a loop, the array will have > to reallocate its internal memory frequently. This seems inefficient.
"I think" and "seems" are bad advice. What do Shark/Instruments say? Does it take long? Does this code run so frequently that it's even worth spending time on optimizing it? Cheers, -- Uli Kusterer "The Witnesses of TeachText are everywhere..." _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
