EnergyNetwork performance issue
Sir-Will opened this issue ยท 4 comments
Looking at the code here: https://github.com/aidancbrady/Mekanism/blob/1.12/src/main/java/mekanism/common/transmitters/grid/EnergyNetwork.java#L224
the max amount of entries seems to be 6 where the average is probably 2-3, so List should be faster here but there might be a different issue here.
you need to add the extra column in visualvm for number of hits; the time value is useless without it. You also seem to miss the point of a set, if you think it can be replaced with a list