Quote:Original post by grekster
Quote:Original post by Pro-XeX
....... how slow can std::vector be ?
itll depend on how his compiler implements it wont it?
I don't think a compiler 'implements' anything, std::vector has constant time insertion and removal of elements at the end, I don't think this should differ
on embedded systems !
Nevertheless, if you use std::vector<T*> and store only pointers
to your objects, you can still use a function like
void DeleteEndOfArray(...)
If speed is such a tough issue, then you might look into using your custom
allocators for the std::vector class !