Re: Proposed C++ optimization with big speed gains with big objects

2012-09-24 Thread Mike Dupont
Hi, I think what you want is a custom allocator : http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt04ch11.html http://www.boost.org/doc/libs/1_45_0/doc/html/interprocess/allocators_containers.html http://stackoverflow.com/questions/2439536/strategy-to-allocate-free-lots-of-small-objects hope t

Proposed C++ optimization with big speed gains with big objects

2012-09-24 Thread _
Hi guys I wana discuss proposed optimization step(optional switch?) to c++ compiller that would make old and new code in some cases order of magnitude faster by just pure recompilation. ...After all those attempts to store anything via = without waste I think that compiller should do "placement n