News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Offline class browser building?

Started by rickg22, June 21, 2007, 05:36:37 PM

Previous topic - Next topic

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...
Be patient!
This bug will be fixed soon...

rickg22

#2
 :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?