Skip to content

Optimize isPrime method. - #5

Open
Samehadar wants to merge 1 commit into
andreacorbellini:masterfrom
Samehadar:master
Open

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

Conversation

@Samehadar

Copy link
Copy Markdown

No description provided.

@jalotra

jalotra commented Jul 25, 2021

Copy link
Copy Markdown

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