This is very likely to cause a large overhaul to the file reading system of the editor, however I feel it worthy of noting.
I found this oversight by accident, by creating a new project, with the Github of the editor and all of its demos nested as a folder inside the project. Big mistake on my part, which I later fixed, but it did reveal something concerning...
If the Editor is taking a long time parsing files, loading them for any of the tabs (Animation, Code, etc), it will freeze, sometimes for several seconds especially if focus of the window had recently been lost.
I suggest looking at a way to cache the results of these files in some manner (using dirty file checks to cache-miss if it was edited outside the editor), or other speed ups, to prevent the editor from having to read several thousands of files again and again just to judge which tool each file belongs to.
You can reproduce the slowdown by making the same mistake I did. However it is a worst case scenario, unlikely, but might be worth doing for lower end machines might be slowing down much more than my machine did.
This is very likely to cause a large overhaul to the file reading system of the editor, however I feel it worthy of noting.
I found this oversight by accident, by creating a new project, with the Github of the editor and all of its demos nested as a folder inside the project. Big mistake on my part, which I later fixed, but it did reveal something concerning...
If the Editor is taking a long time parsing files, loading them for any of the tabs (Animation, Code, etc), it will freeze, sometimes for several seconds especially if focus of the window had recently been lost.
I suggest looking at a way to cache the results of these files in some manner (using dirty file checks to cache-miss if it was edited outside the editor), or other speed ups, to prevent the editor from having to read several thousands of files again and again just to judge which tool each file belongs to.
You can reproduce the slowdown by making the same mistake I did. However it is a worst case scenario, unlikely, but might be worth doing for lower end machines might be slowing down much more than my machine did.