IBE-Editor icon indicating copy to clipboard operation
IBE-Editor copied to clipboard

Investigate longer initialization time when opening an editor screen for the first time

Open skyecodes opened this issue 3 years ago • 1 comments

Title says it all

skyecodes avatar Aug 28 '21 05:08 skyecodes

The longer initialization time seems to be due to 2 things:

  • The texture loading and caching,
  • The MVC initialization.

To make the first screen loading time quicker, I've made 2 improvements:

  • Preload the textures,
  • Setup and render a blank item editor screen.

For Fabric, it's done during client resource pack reloading. For Forge, it's done at game initialization.

I'll keep this issue open but it already seems to have reduced the first screen opening delay by a lot.

skyecodes avatar Sep 03 '21 19:09 skyecodes