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

Offline class browser building?

(1/1)

rickg22:
Most of the bottleneck caused by the Code Completion plugin after parsing a file, has to do with rebuilding the class browser.

So I got an idea. Why not making an OFFLINE tree class? One that, when opening a branch, it will load from disk/memory the appropriate values? When a branch is closed, those branches will be released. Therefore, saving us a lot of memory in the process.

By default, nodes with children will have only ONE children, whose title is "Loading..." :-)

Now it seems to me that this COULD be implemented as short-term, i.e. on time by RC3.

What do you think?

mandrav:
Rick, it already works like that. The tree branches are created as you expand them, not before...

rickg22:
 :shock:

Wow. When was that change done?

...

WOW! And it uses a worker thread!!  :D

uh... question. Then why is the interface still slow when saving files? Those 1.5 seconds after each save are still a torture... :(

rickg22:
I noticed something. When adding lots of symbols to the class browser, it doesn't take long. But removing them (i.e. by switching project) is very slow. Why?

Navigation

[0] Message Index

Go to full version