Pl3xMap icon indicating copy to clipboard operation
Pl3xMap copied to clipboard

throw away while loop in block & biome registry

Open granny opened this issue 8 months ago • 2 comments

This greatly increases performance when registering an extremely large amount of blocks and biomes. Since this is the only place where we add to the indexMap, it's safe to increment it based on it's size. This change decreases the time for registering 9066 blocks from 20 minutes down to ~5 seconds.

granny avatar Oct 17 '23 22:10 granny