3 ms·
Dynamic linking requires calling through the PLT to get to the implementation, so there's a data dependency on determining where the code for it is. Independen
by ckennelly 6y ago
Dynamic linking requires calling through the PLT to get to the implementation, so there's a data dependency on determining where the code for it is.
Independent of inlining (with LTO, since the C++ language rules requires inhibit optimizing out "operator new"), the static call is far simpler.