计算机科学 > 性能
[提交于 2023年10月26日]
标题:Memory Efficient Multithreaded Incremental Segmented Sieve Algorithm
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Prime numbers are fundamental in number theory and play a significant role in various areas, from pure mathematics to practical applications, including cryptography. In this contribution, we introduce a multithreaded implementation of the Segmented Sieve algorithm. In our implementation, instead of handling large prime ranges in one iteration, the sieving process is broken down incrementally, which theoretically eliminates the challenges of working with large numbers, and can reduce memory usage, providing overall more efficient multi-core utilization over extended computations.
提交历史
来自:David Kaeli[v1] 2023年10月26日 星期四 19:37:46 UTC