且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

哪个是查找素数的最快算法?

更新时间:2023-02-26 17:52:18

Sieve ofAtkin 是 Dan Bernstein 的 primegen.这种筛子比 埃拉托色尼筛子更有效.他的页面有一些基准信息.

A very fast implementation of the Sieve of Atkin is Dan Bernstein's primegen. This sieve is more efficient than the Sieve of Eratosthenes. His page has some benchmark information.