C# vs C - Big performance difference

前端 未结 13 592
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 01:39

I\'m finding massive performance differences between similar code in C anc C#.

The C code is:

#include 
#include 
#inclu         


        
13条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 02:29

    If you just single-step the code at the assembly level, including stepping through the square-root routine, you will probably get the answer to your question.

    No need for educated guessing.

提交回复
热议问题