Concurrent Prime Generator

后端 未结 10 698
终归单人心
终归单人心 2020-12-20 20:32

I\'m going through the problems on projecteuler.net to learn how to program in Erlang, and I am having the hardest time creating a prime generator that can create all of the

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-20 21:25

    You can find four different Erlang implementations for finding prime numbers (two of which are based on the Sieve of Eratosthenes) here. This link also contains graphs comparing the performance of the 4 solutions.

提交回复
热议问题