I've seen a couple of posts about the differences between malloc and new and I do understand that.
However, none of those posts talks about performance, so I was wondering if there was any performance difference between those two or if the compiler essentially does the same thing.
For the sake of the comparison, let's suppose we're talking about primitive types here (Thank you Hans Passant).
Thank you in advance.