DaVikingCode / Citrus-Engine

Modern AS3 Game Engine
http://citrusengine.com/
Other
549 stars 231 forks source link

Get rid of linked list in the pooling system #311

Open gsynuh opened 7 years ago

gsynuh commented 7 years ago

It's pretty. But if its unreadable and difficult to maintain, why keep it that way. Array.insertAt/removeAt etc... should do the same job almost as fast now + implementing more object pooling features should be easier (such as fully destroying one object in a pool ?)