Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

IDE is slow by editing big files

<< < (2/2)

mandrav:

--- Quote from: killerbot on April 25, 2007, 11:00:08 pm ---@Yiannis, shouldn't the parsing be done in the background ? Allowing the user to continue his/her work in the meantime.

--- End quote ---

The  parsing for functions in the file happens on the fly in the main thread. But you should know that: you 're the one who implemented the functions toolbar ;).

killerbot:

--- Quote from: mandrav on April 25, 2007, 11:04:30 pm ---
--- Quote from: killerbot on April 25, 2007, 11:00:08 pm ---@Yiannis, shouldn't the parsing be done in the background ? Allowing the user to continue his/her work in the meantime.

--- End quote ---

The  parsing for functions in the file happens on the fly in the main thread. But you should know that: you 're the one who implemented the functions toolbar ;).

--- End quote ---
:oops:

Could we put it also in a background thread, or migth that be overkill or make things to complicated for synchronization afterwards  ?

jomeggs:


--- Quote ---Hmm, try this: re-enable the code-completion plugin but hide the code-completion toolbar (View->Toolbars->Codecompletion). If the toolbar is hidden, no parsing should take place.
--- End quote ---

I tried it out, but the behavior is as nearly as before. For a better understanding only, why is the code parsed every time it got's the focus?

Navigation

[0] Message Index

[*] Previous page

Go to full version