News for hackers. Stuff that matters.
Re:We've filed a lawsuit against GitHub Copilot by gus_massa on Thursday November 03, 2022 @09:37PM (#33460638)
That isPrime function does not even cut at sqrt(n). Asking for the state of the art isPrime function is too much, but the sqrt trick is the very first step and it's free. (IIRC, the faster version uses i*i<n)

There are no comments on this comment yet.