I already have read your other post and will try to look into it.
I use the linux-kernel sources as test project (just to load it, not to compile or anything).
Here comes a patch, that replaces wxList with a wxHashSet for the ProjectFile*-list, what leads to a more or less great amount of changes.
The patch is not deeply tested and nottested on windows at all.
It's mixed with the other patch, described earlier in this thread.
I used the linux-kernel 2.6.35 as test project, no files opened, just loading the project and filling the treectrl in management pane.
CC-plugin is disabled, because it sometimes eats up all of my memeory and makes the system nearly unusable.
Overall load-time with trunk (from closing the starthere-page until selecting the active build-target):
1 m 30.846 s
with my changes:
0 m 11.398 s
in other words:
about 8 times faster
closing is much faster with trunk (at the moment):
2.255 s
and with my patch:
5.465 s
about 2.4 times slower
exact values (snippets from debug log with DisplayEvents-plugin):
wxHashSet (codecompletion disabled)
open linux-kernel 2.6.35
23:50:31,744 => cbEVT_EDITOR_CLOSE
Loading project file...
Parsing project file...
23:50:32,141 => cbEVT_PROJECT_RENAMED
23:50:32,149 => cbEVT_BUILDTARGET_ADDED
23:50:32,149 => cbEVT_PROJECT_TARGETS_MODIFIED
Loading target Debug
23:50:32,150 => cbEVT_BUILDTARGET_ADDED
23:50:32,150 => cbEVT_PROJECT_TARGETS_MODIFIED
Loading target Release
Loading project files...
23:50:32,175 => cbEVT_PROJECT_BEGIN_ADD_FILES
23:50:35,732 => cbEVT_PROJECT_END_ADD_FILES
33115 files loaded
Done loading project in 3991ms
Project's base path: /home/jens/kernel-tmp.2.6.35/
Project's common toplevel path: /home/jens/kernel-tmp.2.6.35/
23:50:39,498 => cbEVT_PROJECT_OPEN
23:50:39,499 => cbEVT_WORKSPACE_CHANGED
23:50:43,138 => cbEVT_PROJECT_ACTIVATE
23:50:43,142 => cbEVT_BUILDTARGET_SELECTED
and close it
Removed test from all deps
23:53:53,051 => cbEVT_EDITOR_SWITCHED
23:53:53,138 => cbEVT_EDITOR_ACTIVATED
23:53:53,259 => cbEVT_PROJECT_CLOSE
23:53:58,248 => cbEVT_BUILDTARGET_SELECTED
23:53:58,289 => cbEVT_WORKSPACE_CHANGED
23:53:58,431 => cbEVT_APP_ACTIVATED
23:53:58,447 => cbEVT_EDITOR_SWITCHED
23:53:58,516 => cbEVT_EDITOR_ACTIVATED
trunk
open
23:55:21,116 => cbEVT_EDITOR_CLOSE
Loading project file...
Parsing project file...
23:55:21,345 => cbEVT_PROJECT_RENAMED
23:55:21,354 => cbEVT_BUILDTARGET_ADDED
23:55:21,355 => cbEVT_PROJECT_TARGETS_MODIFIED
Loading target Debug
23:55:21,355 => cbEVT_BUILDTARGET_ADDED
23:55:21,355 => cbEVT_PROJECT_TARGETS_MODIFIED
Loading target Release
Loading project files...
23:55:21,379 => cbEVT_PROJECT_BEGIN_ADD_FILES
23:56:43,454 => cbEVT_PROJECT_END_ADD_FILES
33115 files loaded
Done loading project in 82341ms
Project's base path: /home/jens/kernel-tmp.2.6.35/
Project's common toplevel path: /home/jens/kernel-tmp.2.6.35/
23:56:47,745 => cbEVT_PROJECT_OPEN
23:56:47,746 => cbEVT_WORKSPACE_CHANGED
23:56:51,936 => cbEVT_PROJECT_ACTIVATE
23:56:51,962 => cbEVT_BUILDTARGET_SELECTED
and close it
Removed test from all deps
23:58:36,742 => cbEVT_EDITOR_SWITCHED
23:58:36,762 => cbEVT_EDITOR_ACTIVATED
23:58:36,876 => cbEVT_PROJECT_CLOSE
23:58:38,597 => cbEVT_BUILDTARGET_SELECTED
23:58:38,671 => cbEVT_WORKSPACE_CHANGED
23:58:38,886 => cbEVT_APP_ACTIVATED
23:58:38,906 => cbEVT_EDITOR_SWITCHED
23:58:38,997 => cbEVT_EDITOR_ACTIVATED
As mentioned not deeply tested (might break some stuff), so be careful.
Make a backup of your project to be secure .
EDIT:patch updated, see:
http://forums.codeblocks.org/index.php/topic,14543.msg103572.html#msg103572