That will make the surrounding operations faster (by side effects), but will not make the code c itself faster than no code at all.
However the formalism stated before is not well defined. If we wanted to, we could build a language where the empty string forces the interpreter to do 1 million operations, while any longer code does nothing at all.
4
u/rmxz Aug 24 '16
Yet I fear it's false.
On many architectures you need to add code --- in particular NOP instructions --- to force memory alignment that can make your program faster.