Re: The computational complexity of the Sieve of Eratosthenes
- From: user923005 <dcorbit@xxxxxxxxx>
- Date: Thu, 1 May 2008 12:48:23 -0700 (PDT)
On May 1, 3:02 am, Juha Nieminen <nos...@xxxxxxxxxxxxxx> wrote:
user923005 wrote:
Using Daniel Bernstein's Primespeed.exe, which is an Aitken sieve
I wasn't asking how fast it can be done. I was asking that if the
init() function in my example program was substituted with the sieve of
Atkin, how much faster it would be.
If "anything goes as long as the bitset is initialized" I could just
create a 256-megabyte exe which takes 0.1 seconds (the time being only
dependent on how fast the system can load the exe from disk into
memory). But that was not my point.
Those functions perform initialization of the bitset. They do not
have the bitset pre-initialized.
.
- Follow-Ups:
- Re: The computational complexity of the Sieve of Eratosthenes
- From: Juha Nieminen
- Re: The computational complexity of the Sieve of Eratosthenes
- References:
- Re: The computational complexity of the Sieve of Eratosthenes
- From: Juha Nieminen
- Re: The computational complexity of the Sieve of Eratosthenes
- Prev by Date: Re: Generic protocol builder/parser
- Next by Date: Re: Programming to Beat the Odds in Gaming
- Previous by thread: Re: The computational complexity of the Sieve of Eratosthenes
- Next by thread: Re: The computational complexity of the Sieve of Eratosthenes
- Index(es):
Relevant Pages
|