Lazy pregen

This commit is contained in:
DanMB committed 2022-07-17 08:52:56 -07:00
1 parent b82edfe688
commit a32de58c8b
3 files changed
+190

No files matched your search

@@ -75,4 +75,14 @@ public class Spiraler {
z += dz;
i++;
}
public int count() {
int c = 0;
while(hasNext()) {
next();
c++;
}
return c;
}
}