Comment

Comment by m463

I tried FindingPrimesMulti.py on a 3970x:

  Find all primes up to: 10000 using 256 processes.
  Time elasped: 0.51 seconds
  Number of primes found 1229

  Find all primes up to: 100000 using 256 processes.
  Time elasped: 36.71 seconds
  Number of primes found 9592

  Find all primes up to: 200000 using 256 processes.
  Time elasped: 149.55 seconds
  Number of primes found 17984
EDIT: ran it again:

  Find all primes up to: 200000 using 256 processes.
  Time elasped: 145.76 seconds
  Number of primes found 17984
parent m463 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton