What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

Q

What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

✍: Guest

A

Debug build contain debug symbols and can be debugged while release build doesn’t contain debug symbols, doesn’t have [Contional(”DEBUG”)] methods calls compiled, can’t be debugged (easily, that is), less checking, etc. There should be a speed difference, because of disabling debug methods, reducing code size etc but that is not a guarantee (at least not a significant one)

2014-02-25, 1651👍, 0💬