Why do projects take much more time to open and close?

Working on new editor enhancements?
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Why do projects take much more time to open and close?

Post by es_91 »

...compared to a simple file

Hi

It came to my recognition that the IDE is no longer working slick like it did back in 2005. On the one hand the saving of preferences is done about several seconds after closing the IDE, sometimes showing a progress bar window - but more of a mystification to me is that when opening or closing files that are part of a project, just like the project itself, the progress is far slower than when opening or closing a code file that is standalone. If you have many files opened, both project files and normal ones, and your PC gets slow, you will notice it takes fairly more time to load or unload project-depending files. This is why i now hardly use projects. Why is that so slow? The speed factor is above 2, maybe 3, 4.


Redgards
:mrgreen:
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

Re: Why do projects take much more time to open and close?

Post by mestnyi »

this is how it happens in windows, in Mac OS everything happens quickly.
What can we say about projects, even a simple window closes for a very long time if the identifier = #PB_Any via IDE.

Code: Select all

OpenWindow(#PB_Any, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: Why do projects take much more time to open and close?

Post by es_91 »

I am talking about the source code files of an open project in the IDE editor. Loading quickly when not attached to any project, but fairly takes seconds when loading a huge project. Closing too.
:mrgreen:
Post Reply