Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

CC makes C::B hang in ExpandBackticks

<< < (4/11) > >>

MortenMacFly:

--- Quote from: oBFusCATed on January 04, 2013, 12:02:26 pm ---BTW: I'm looking why the no-change-build of cb is slow. It turned out that the DirectCommands object is recreated tons of times (takes 30-50% time).

--- End quote ---
Well it has to at least for each project you compile in the WS for deps (re-)computation, at least. It should instantiate as many times as you have project in your WS. Is that true?

MortenMacFly:

--- Quote from: oBFusCATed on January 04, 2013, 12:02:26 pm ---Why? Duplicating code is never a good thing.

--- End quote ---
Better solution?

oBFusCATed:

--- Quote from: MortenMacFly on January 04, 2013, 01:49:16 pm ---Well it has to at least for each project you compile in the WS for deps (re-)computation, at least. It should instantiate as many times as you have project in your WS. Is that true?

--- End quote ---
I think it is created for every file. I have to dig more, but my crashing bug is quite annoying and also the code there is a total mess of spaghetti. There is no way someone to understand or modify it easily.

MortenMacFly:

--- Quote from: oBFusCATed on January 04, 2013, 01:56:46 pm ---also the code there is a total mess of spaghetti. There is no way someone to understand or modify it easily.

--- End quote ---
Where? Maybe if you tell someone can help...

oBFusCATed:

--- Quote from: MortenMacFly on January 04, 2013, 02:01:30 pm ---Where? Maybe if you tell someone can help...

--- End quote ---
Look at DoRunQueue and BuildStateMachine, also the DirectCommands class is a bit messy :(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version