Przeglądaj źródła

Make sieve be local, not global.

master
Ian Piumarta 1 rok temu
rodzic
commit
82a4828985
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      bench-sieve.txt

+ 1
- 1
bench-sieve.txt Wyświetl plik

@ -9,7 +9,7 @@ evals = evaluations();
for (n = 0; n < repeats; n = n + 1) {
print("\r", n, "/", repeats);
sieve = [];
let sieve = [];
count = 0;
for (i in numbers) sieve.push(nil);
for (i = 2; i < numbers; i = i + 1) {

Ładowanie…
Anuluj
Zapisz