from Hacker News

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

by msavara on 12/13/21, 7:26 PM with 1 comments

  • by __s on 12/13/21, 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