Replace Temp with Query might add performance overhead

Hoang Tran 4 weeks ago 0

Image 1691

I believe the first solution on the left is more efficient than the second as it caches the result of basePrice for reference in conditional expressions. Can you please explain why we should favour the second one ?