更新时间:2023-09-18 23:36:46
某些 CPU 密集型例程在通过调试器运行时会显着变慢.这是为什么?
Some CPU intensive routines get dramatically slower when run through a debugger. Why is this?
因为在启用调试时,JITter 不会优化代码那么多(通常,根本不会).
Because the JITter won't optimize code as much (often, not at all) when debugging is enabled.