Closed stackotter closed 2 years ago
I have changed all of the registries to use ZippyJSON to load the Pixlyzer JSON. However, ZippyJSONDecoder fails to load the Pixlyzer block registry so I had to hardcode that one to use the regular JSONDecoder. Getting it to work properly with ZippyJSONDecoder would likely make it 2 to 3 times faster.
The issue seems to be the SingleOrMultiple
type (because of Pixlyzer's weird formatting).
I'm closing this for now because the first launch is around 45 seconds after my recent optimisations which is definitely acceptable.
The first launch is an important part of the user experience and some of these changes will even speed up other aspects of the app (such as updating and loading new resource packs).