kimwalisch / primesieve

🚀 Fast prime number generator
BSD 2-Clause "Simplified" License
942 stars 123 forks source link

Use file as "reference" #136

Closed univers93 closed 1 year ago

univers93 commented 1 year ago

Let's say that I have a filé with 100000000 primes, how can I make primé Steve use this file and continue it ?

So smth like this primesieve -start [file.txt] 200000000 ....

kimwalisch commented 1 year ago

From the documentation:

# Store the primes ≤ 1000000 in a text file
primesieve 1000000 --print > primes.txt