[Mono-list] More fighting with Hashtable

Andrei Zmievski andrei@ispi.net
Fri, 13 Jul 2001 15:09:45 -0500


On Fri, 13 Jul 2001, John Barnette wrote:
> Well, there are 203280221 primes in the range 2-2^32 inclusive.  This looks
> like a bloody large array to me.  Or have I made a stupid mistake?

Well, you don't need all those primes, only the ones that are sequenced
in the fashion that you need, i.e. each prime is smallest one larger
than 2*previous one.

-Andrei

Any sufficiently advanced Operating System
is indistinguishable from Linux.
                              - Jim Dennis