------- Comment #104 from pcarlini at suse dot de  2007-05-18 22:44 -------
(In reply to comment #103)
> If the element type is a POD, we should use assignment, not placement new.

Agreed, in principle. But before adding a load of templates and dispatching,
let's wait a bit for the outcome of this issue and benchmark carefully: the
performance difference may be minor, given that we are dynamically allocating
memory for the new node.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286

Reply via email to