Why is .NET faster than C++ in this case?

后端 未结 13 1476
长发绾君心
长发绾君心 2021-02-02 00:59

Make sure you run outside of the IDE. That is key.

-edit- I LOVE SLaks comment. \"The amount of misinformation in these answers is staggering.\" :D

13条回答
  •  太阳男子
    2021-02-02 01:32

    Maybe C# is able to unroll stack in recursive calls? I think it is also reduces number of computations.

提交回复
热议问题