Optimising Particles - Pooling etc.

BlitzMax Forums/BlitzMax Programming/Optimising Particles - Pooling etc.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

here is a pooling TList
http://www.blitzbasic.com/Community/posts.php?topic=62667#700197

I didn't get -any- interest in this when I posted it but it works great for me. the one thing is you can't mix types. the example at the end should give you enough explaination.

all this does though is address the memory allocation performance, it does not do anything for the rest of your concerns... but between lists and arrays.... I think the only advantage for arrays is speed. the ease of lists trump the slight gain you get as most often you'll find other areas that will get you better results.