3 ms·
> But also for each function call you have to make an indirect jump into it. Only the first call has a penalty. Then you call into the PLT and the PLT contains
by bonzini 6y ago
> But also for each function call you have to make an indirect jump into it.
Only the first call has a penalty. Then you call into the PLT and the PLT contains a direct jump to the function.
- kaba0 6y agoIt still has a cost over potential inlining (that allows for more optimizations as well). Of course if it is not a hotspot, it is meaningless.
- creamytaco 6y agoThe call into the PLT is a penalty.
- bonzini 6y agoSure but it's not an indirect jump.