Re: Another twin primes conjecture
From: Christian Bau (christian.bau_at_cbau.freeserve.co.uk)
Date: 06/21/04
- Next message: Robert Vienneau: "Re: Random number question?"
- Previous message: KRamsay: "Re: basic fractional dimension question"
- In reply to: Dik T. Winter: "Re: Another twin primes conjecture"
- Next in thread: Lance Lamboy: "Re: Another twin primes conjecture"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Jun 2004 07:50:26 +0100
In article <HzMuJF.C62@cwi.nl>, "Dik T. Winter" <Dik.Winter@cwi.nl>
wrote:
> In article <LW%Ac.811048$oR5.456805@pd7tw3no> "Quinn Tyler Jackson"
> <quinn-j@shaw.ca> writes:
> > OK, David -- I've considered your bubble sort analogy. That's where you
> > (and
> > possibly others) are coming from, and I understand and allow for your
> > views.
> > You probably (not sure, but likely) also realize that I've witnessed James
> > in another, entirely different context, where the typical response to
> > "It's
> > not very fast at all" would be "Can I help you make it faster? Here, note
> > that X is a bottleneck. You may be able to speed it up if you ...." and
> > James' response is "Wow! That speeds it up! Thanks! Maybe if I show you
> > some
> > of my attempts at speeding it up, you can improve on those, since you
> > found
> > X."
>
> Possibly true. But what we reminded James of is not only that his
> algorithm could be made faster, but that the time complexity of his
> algorithm was not good enough. So pointing to bottle-necks would
> help bringing down the constants, but not the complexity. His
> algorithm is O(n), which will not be anything but mildly interesting,
> whatever the constants involved. And when he states that his
> algorithm is better when pointers are given to algorithms with
> better time complexity...
Not only pointers. I am quite sure I posted at least once an explanation
of Meissel's algorithm, which calculates exactly the same values as
Legendre's algorithm, which Harris copied, except that it manages to
determine a huge number of values quicker by using a sieve and therefore
manages to reduce the time complexity.
Now Meissel's method is still by far not the fastest, but it is quite
simple, and once you've understood it it becomes quite obvious that his
approach of using sieves when they are helpful could be extended.
- Next message: Robert Vienneau: "Re: Random number question?"
- Previous message: KRamsay: "Re: basic fractional dimension question"
- In reply to: Dik T. Winter: "Re: Another twin primes conjecture"
- Next in thread: Lance Lamboy: "Re: Another twin primes conjecture"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|