After an svn upgrade from version r7450 to r7520 some time ago I discovered that loading my projects takes much more time now. Usually I was impressed that my projects could be loaded within 2 seconds. But now loading the same project takes at least 30 seconds! Depending on the size of the projects I may have to wait several minutes...After installing several svn versions I found out that for versions until r7459 the time for loading project files is amazingly fast, but from version r4760 on there is a huge delay in loading them. What did change in codeblocks and how can I disable this feature?

After installing several svn versions I found out that for versions until r7459 the time for loading project files is amazingly fast, but from version r4760 on there is a huge delay in loading them. What did change in codeblocks and how can I disable this feature?

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.

Thanks a lot! I simply changed those lines in r7520 back. Now loading my projects is quick as before (<2 sec). I have no idea why cb behaves like this but I'm glad I know how to overcome this problem in future svn releases.

...Once...We call ProjectDirTraverser 1 timestraversing took 578 ms.... Many more...We call ProjectDirTraverser 1 timestraversing took 146 msThis is what I get, but this is the second time I load the workspace.

Jens: Do you know a way I can revoke the caches? This is on linux.

Logged

(most of the time I ignore long posts)[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

... once for the first projects in the workspace...We call ProjectDirTraverser 1 timestraversing took 20608 ms.... Many more...We call ProjectDirTraverser 1 timestraversing took 146 msThis is the same workspace, after I've dropped the caches with

I discovered something interesting. For every new project in my workspace a "Project's common toplevel path" is found - which is the same for all of my projects within that workspace. So, the number of searched directories and files (2673/59591) is also the same for all projects. But it takes a lot of time to scan them every time.

One problem seems to be that all projects within my workspace refer to external source code outside the separate project trees.