The time the x86 emulator team found code so bad that they fixed it during emulation
Summary
A Microsoft Dev Blog post recounts a historic x86 emulator story where a compiler's attempt to allocate 64KB on the stack resulted in 256KB of translated code. The emulator team added a special case to replace a bloated sequence with a tight loop, illustrating a practical performance quirk in binary translation and emulation.