Closed apotapov closed 10 years ago
SystemEvents and ComponentManager use Pools to do pooling instead of instantiating their own purpose specific pools. Pools uses reflection in the obtain method, which is not as efficient as calling a constructor directly.
Unfortunately there is no easy way to do that because of generic events and components that need instantiating.
SystemEvents and ComponentManager use Pools to do pooling instead of instantiating their own purpose specific pools. Pools uses reflection in the obtain method, which is not as efficient as calling a constructor directly.