News for hackers. Stuff that matters.
Re:Improving on the Sieve of Eratosthenes by ba0bab on Wednesday May 01, 2019 @12:07AM (#19794466)
"[the paper] gives a refined version of the sieve that takes less time and less space." It is not about the time-complexity which is "almost" linear in any case (and even slightly worse than the classical version O(nlog(log(n)) vs O(nlog(n)), but about the space complexity, which is "almost" O(n^(1/3)) vs O(n^(1/2) ( or the classical "naive" O(n))

There are no comments on this comment yet.