Skip to content

Optimize isPrime method.#5

Open
Samehadar wants to merge 1 commit intoandreacorbellini:masterfrom
Samehadar:master
Open

Optimize isPrime method.#5
Samehadar wants to merge 1 commit intoandreacorbellini:masterfrom
Samehadar:master

Conversation

@Samehadar
Copy link

No description provided.

@jalotra
Copy link

jalotra commented Jul 25, 2021

To optimise some more we can change math.floor(math.sqrt(n)) to m*m <= N.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants