Fix benchmark.
This commit is contained in:
parent
97520f14a9
commit
adc74c795e
@ -16,7 +16,8 @@ const MAX_NUMBER_TO_CHECK = 1_000; // 168 primes <= 1000
|
|||||||
let prime_mask = [];
|
let prime_mask = [];
|
||||||
prime_mask.pad(MAX_NUMBER_TO_CHECK, true);
|
prime_mask.pad(MAX_NUMBER_TO_CHECK, true);
|
||||||
|
|
||||||
prime_mask[0] = prime_mask[1] = false;
|
prime_mask[0] = false;
|
||||||
|
prime_mask[1] = false;
|
||||||
|
|
||||||
let total_primes_found = 0;
|
let total_primes_found = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user