计算机科学 > 数据结构与算法
[提交于 2011年11月14日]
标题:Cache optimized linear sieve
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Sieving is essential in different number theoretical algorithms. Sieving with large primes violates locality of memory access, thus degrading performance. Our suggestion on how to tackle this problem is to use cyclic data structures in combination with in-place bucket-sort. We present our results on the implementation of the sieve of Eratosthenes, using these ideas, which show that this approach is more robust and less affected by slow memory.
提交历史
来自:Zoltán Kása[v1] 2011年11月14日 星期一 17:31:29 UTC