For my renderer at each frame I'm filling a vector with CVisual* elements,
sorting it, rendering the objects and then clearing the vector again.
I suspect there will be an overhead if the vector is resizing it's capacity
all the time... is there a way to prevent this?
--
Lasse
sorting it, rendering the objects and then clearing the vector again.
I suspect there will be an overhead if the vector is resizing it's capacity
all the time... is there a way to prevent this?
--
Lasse
Comment