Cost of pushing variable onto stack
Does anyone have a good reference for what it costs to use a local variable versus using the return value of a method call in C++?
I hate using a string of method calls together in an equation, it makes it so unreadable. Yet if I use local variables to hold the returns of these calls, then use those variables in the equation, I draw the ire of certain guys in our department as being inefficient. Is it really that inefficient to push a few local variables on the stack simply to make a bit of code easier to read and understand?