Efficiency = ratio of utility versus energy consumed
utility is the same
what energy do you want to take in account ( workload to write, maintain, ... the code, ie investment, or energy to run the code) ? The answer to your question depends on this, but remember that we are speaking of some internal calls and the are MUCH MORE inefficiency in every codes even from the best dev of us. In fact in term of cpu usage a framawork (Laravel, ...) is inefficient, same for OOP :-)