Great improvement. I purposefully didn't use the sieve method for memory considerations, but I see this is an ideal situation for vec. Something I've been aware of, but never really found a use for.
YuckFoo
In reply to Re: Re: Rotationally Prime Numbers
by YuckFoo
in thread Rotationally Prime Numbers
by YuckFoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |