GodotAsyncLoader icon indicating copy to clipboard operation
GodotAsyncLoader copied to clipboard

Replace SceneAdder 100ms sleeps with sleeps only as long as needed

Open workhorsy opened this issue 4 years ago • 1 comments

Adding scenes is slow. At the current rate (100ms), we can only add 10 scenes per second. This makes it seem very slow when adding tons of small scenes.

workhorsy avatar Oct 29 '21 00:10 workhorsy

Instead of using an arbitrary amount of time to wait. Just have the target tell the thread after it has added the instance. This seems to work great for the shader cache.

workhorsy avatar Apr 25 '22 04:04 workhorsy