I have been wondering, which is the best method for creating a particle system.
Structs or vector containers?
Im just curious because i tried both of them and on a test, My particle engine using structs can render 100000 particles per second, But when i get down to Vectors and iterate over every single particles i could not go over 5000 particles..
I have an Core- i5 processor and using vectors is taking much of my CPU usage.
Anybody ever tried a vector container for particle engines?
struct
{
float x;
float y;
.....
}particles;
//Either using a for loop to access them or vector containter and iterate over them..
Thanks!EDIT:: Sorry if i am at the wrong forum. Move it if so.






