The input/output complexity of sorting and related problems
Communications of the ACM
Largest known twin primes and Sophie Germain primes
Mathematics of Computation
External memory algorithms and data structures: dealing with massive data
ACM Computing Surveys (CSUR)
FOCS '99 Proceedings of the 40th Annual Symposium on Foundations of Computer Science
Hi-index | 0.09 |
In the present paper we describe and analyse a sieving algorithm for determining prime numbers. This external memory algorithm contains several parameters which are related to the sizes of the levels in the memory hierarchy. We examine how we should choose the values of these parameters in order to obtain an optimal running time. We compare the running times obtained by varying the parameters. We conclude that in this specific problem fine tuning pays off as we got a speed-up of almost 40%.