Quote Originally Posted by The Brain
I was thinking that there would potentially be a great advantage from making your dynamic array application specific.. since vectors typically allocate memory exponentially.. and from an optimization perspective.. greatly enhance execution time by eliminating the inclusion of unecessary libraries.. (thus eliminating about a bazillion functions you would never use)
You can customize the way a vector (or any other STL container) allocates memory. I have done this before and I am pretty sure it would be easier than writing your own complete dynamic array solution.

Execution time shouldn't be affected by the number of libraries or functions you use. Maybe executable size, but the difference would be negligible I would think, and they would certainly not outweigh the advantages I mentioned above.