NestedPackages uses a linear search to add in new entries right now. Unsurprisingly, this is really bad when there are a lot of entries.
This PR changes the tree node type to use a non-synchronized tree node class that defers sorting, which makes adding nodes a lot faster.
This is basically just a port of QuiltMC/Enigma#84 (my own PR) to Fabric Enigma.
NestedPackages
uses a linear search to add in new entries right now. Unsurprisingly, this is really bad when there are a lot of entries. This PR changes the tree node type to use a non-synchronized tree node class that defers sorting, which makes adding nodes a lot faster.This is basically just a port of QuiltMC/Enigma#84 (my own PR) to Fabric Enigma.