This PR prevents boxing/unboxing of primitive types in maps. We can have easily 20+ unboxing events happen every tick per player, especially in triggers. The FastConfiguration class stores separate maps from fastutil, so each primitive type is handled separately.
Fixes #395
This PR prevents boxing/unboxing of primitive types in maps. We can have easily 20+ unboxing events happen every tick per player, especially in triggers. The
FastConfiguration
class stores separate maps fromfastutil
, so each primitive type is handled separately.