C# Math.Sqrt is slow on 12 core AMD it was destroyed by mobile CPU Intel

by msavaraon 12/13/2021, 7:26 PMwith 1 comments

by __son 12/13/2021, 7:51 PM

Correction: checking x%y==0 is slow, not Math.Sqrt

Would be neat to know what's causing the perf gap, but thread is mostly people posting their numbers & some people pointing out that Sqrt isn't the hotspot & some "benchmarking is hard" rambling