Original Post
void do_something(const double variable) { ... }
void call_do_something() {
double dummy;
do_something(dummy);
} Does specifying "const" cause the compiler to avoid the normal assembler push/pop of 'dummy' that happens when invoking do_something? It probably depends on the calling convention used...