Closed MarioE closed 11 years ago
Okay, go ahead.
maybe after we fix the initial bugs;)
Nevermind, this is rather pointless. I did a quick implementation of this (https://github.com/MarioE/TerrariaAPI-Server/) and it definitely was not much of an optimization (removed Dust, Gore, Star, ItemText, CombatText, Cloud).
Perhaps when an update is unlikely to occur, we could do this. It's not really worth the effort to do it each time the server updates, that's for sure.
For example, there are 2001 Dust instances and 501 Gore instances, and each instance in their arrays is created. We should remove stuff like this to decrease memory usage.