Original Post
How efficient is the STL compared to just a plain array on the heap???
i had problems keeping track of all the objects on the heap due to large amount of data structures in a 3d engine to keep track of, and deleting all those pointers gets to be a pain in the A**
i find the vector to be easier to use cause the underlying code does the cleanup work(even though the hidden array is still on the heap). I know that when the vectors'' underlying array is full it gets expensive to allocate a larger array, but other then that how does it compare to a array on the heap.
and if i made a simpler version of the vector without the complexities of the stl one, but still able to do the things i need done what that be better????