Go to file
Peter J. Holzer 27b131c982 Compute and print primes (non-parallel)
This is already a slightly optimized version: I hardcode 2 and compute
only odd primes and I skip multiples of lesser primes in the inner loop.
This roughly matches the algorithm used by Dave Plummer in his Youtube
series. Just to have the same baseline
2021-07-12 19:40:34 +02:00
eratosthenes_parallel.go Compute and print primes (non-parallel) 2021-07-12 19:40:34 +02:00