Increase prime numbers limit to 100K.
This commit is contained in:
parent
5afeba6fd1
commit
0d5a36edc8
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let now = timestamp();
|
let now = timestamp();
|
||||||
|
|
||||||
const MAX_NUMBER_TO_CHECK = 10_000; // 1229 primes <= 10000
|
const MAX_NUMBER_TO_CHECK = 100_000; // 9592 primes <= 100000
|
||||||
|
|
||||||
let prime_mask = [];
|
let prime_mask = [];
|
||||||
prime_mask.pad(MAX_NUMBER_TO_CHECK, true);
|
prime_mask.pad(MAX_NUMBER_TO_CHECK, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user