Enigma icon indicating copy to clipboard operation
Enigma copied to clipboard

Optimize NestedPackages by deferring sorting

Open BasiqueEvangelist opened this issue 2 years ago • 0 comments

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.

BasiqueEvangelist avatar Jun 15 '23 15:06 BasiqueEvangelist