GregTech slows down `ItemTooltipEvent` massively
Technici4n opened this issue · 1 comments
See AppliedEnergistics/Applied-Energistics-2#7698.
The most likely culprit is
null
from computeIfAbsent
. To quote the documentation:
If the mapping function returns
null
, no mapping is recorded.
Tested with the current Version: 1.1.3.b-build_516
Works now without a significant lagspike.
I've run a spark profiler and tried to reproduce the original Problem, theres still a small lag, but way less noticable then before.