This website works better with JavaScript.
Home
Explore
Help
Sign In
piumarta
/
minproto
Watch
1
Star
0
Fork
1
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Make sieve be local, not global.
master
Ian Piumarta
1 year ago
parent
4a959a124f
commit
82a4828985
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bench-sieve.txt
+ 1
- 1
bench-sieve.txt
View File
@ -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) {
Write
Preview
Loading…
Cancel
Save