arXiv · 2310.17746
Memory Efficient Multithreaded Incremental Segmented Sieve Algorithm
Abstract
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.
Explore related subjects
Keep this discovery
Evan Ning, David Kaeli. 2023-10-26. Memory Efficient Multithreaded Incremental Segmented Sieve Algorithm. https://arxiv.org/abs/2310.17746
Cite the original work for its findings. Save a collection to share your selection of sources.