focustense / StardewUI

UI/widget library for Stardew modding
MIT License
5 stars 1 forks source link

Reduce jank on initial loads #44

Closed focustense closed 4 days ago

focustense commented 1 week ago

There is a noticeable frame delay when visiting a new model that's particularly complex. The most visible examples are the Bestiary (switching to Stats tab for the first time) and the Carousel (just loading the example).

There is already #18 for preload/precompilation but I'm not sure if that's necessary the best place to focus effort. Models coming from user-land can't be preloaded, and some of the types in Stardew are very large which might contribute heavily to the issue.

This is a general placeholder issue for all other performance improvements.