Author Topic: What is it doing ???  (Read 2626 times)

Offline johne53

  • Regular
  • ***
  • Posts: 253
What is it doing ???
« on: December 29, 2009, 04:31:38 pm »
I don't know if anyone else has ever noticed this (or if anyone can replicate it) but if I launch C::B and load a reaonably large session/workspace (this one happens to contain around 25 individual projects) C::B hogs my processor for around 4-5 minutes, taking up 100 percent of the processor cycles. After 5 minutes or so, it settles down. I'm using the Windows version downloaded maybe 2 months ago. Anyone else ever seen this? What could it be doing?

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: What is it doing ???
« Reply #1 on: December 29, 2009, 04:35:40 pm »
I guess CodeCompletion plugin was pasing your workspace. and it takes several minutes to finish if your project contains too many files.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.