ecc
ecc copied to clipboard
Optimize isPrime method.
To optimise some more we can change math.floor(math.sqrt(n)) to m*m <= N.