On Jun 11, 2008, at 6:34 , Huibert Aalbers wrote:

I am writing an app that uses multiple layers to display objects that move
over a static background (which is drawn in its own layer). After the
animation completes, I do no longer need all those layers and I guess that it would be more efficient to "merge" all these layers into a single one.
Does anyone have an opinion on what would be the most efficient way to
perform such an operation?

Are you actually seeing a performance hit during profiling (ie. in Instruments) by keeping the extra layers around? How many layers are we talking about? I would not necessarily assume that merging the layers would be any more efficient. And if profiling doesn't indicate a performance issue, I wouldn't waste my time on it.

/brian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to