undefinedprivatestaticlongForSumArray(long[]array){varresult=0L;对于(vari=0L;iForSumArray2(array)));Console.WriteLine("Iter:{0}",AverageRunTime(repeat,()=>IterSumArray(array)));privatestaticTimeSpanAverageRunTime(intcount,Actionmethod){varstopwatch=newStopwatch();秒表.Start();for(vari=0;i
为什么64位比32位更快?分享相关文章