3 ms·
The example sieve does a bit of extra work. You can start at candidate**2 instead of candidate*2 since the composite `2` has already been removed in
by agentultra 12y ago
The example sieve does a bit of extra work. You can start at
candidate**2
instead of
candidate*2
since the composite `2` has already been removed in a previous iteration.
Nice work.