Quote
just the simple if(debugger_enabled) placements before debugging areas (memory access, opcode execute, etc.) knocks off ~10% of my emulator speed. It'd be much worse for faster ones.
You can define the --enable-debugger as a ./configure option. Let the user make the choice