[RFC] Vector (string?) growth factor of 1.5 (insted of 2)

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Feb 2 17:47:00 GMT 2004


"Bo Persson" <bop@gmb.dk> writes:

| I think we should not only measure speed, but also consider the amount of
| memory wasted by over allocation.
| 
| If you want maximum speed for a particular container, you should of course
| allocate every single byte available for it at once, and be done with it.

I agree.

-- Gaby



More information about the Libstdc++ mailing list