• 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
how to make a task less cpu intensive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to make a task less cpu intensive


  • Subject: how to make a task less cpu intensive
  • From: Nick Rogers <email@hidden>
  • Date: Fri, 28 Dec 2012 23:10:14 +0530

Hi,

I have a tree in memory (all nodes malloc'ed blocks) and when I start freeing this large tree, I traverse the tree and free all nodes.
This becomes cpu intensive and so the progress bar on my sheet doesn't animate.

In similar other situations the progress bar animates, when different code is executed in the background.

Any ideas on how to make tree freeing process less intensive?

Thanks,
Nick
_______________________________________________

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

  • Follow-Ups:
    • Re: how to make a task less cpu intensive
      • From: Paul Scott <email@hidden>
    • Re: how to make a task less cpu intensive
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Dumb ARC question
  • Next by Date: Re: how to make a task less cpu intensive
  • Previous by thread: How to get used UIFont
  • Next by thread: Re: how to make a task less cpu intensive
  • Index(es):
    • Date
    • Thread