Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #408523

Re: anyone take a shot at this

From Jasen Betts <jasen@xnet.co.nz>
Newsgroups sci.electronics.design
Subject Re: anyone take a shot at this
Date 2016-04-21 23:50 +0000
Organization "JJ's own news server"
Message-ID <nfbp12$b0q$1@gonzo.alcatraz> (permalink)
References <nf69c7$860$1@gioia.aioe.org> <67fb3d1b-2b65-4532-bea3-bdd282dc8f66@googlegroups.com> <4c828146-2448-4d29-8097-f01ab6577285@googlegroups.com> <bfcaefd1-c7d6-4889-b12f-0c2408ef373e@googlegroups.com>

Show all headers | View raw


>
> Oh, I don't know.  His post inspired me to look at the Sieve of
Eratosthenes.  Quite fun.  There's a sample sieve code with the
FreeBasic compiler.  After some modification (it only finds the first
million primes) it took my computer just 7.5 seconds to find the first
25 million primes.  I'd forgotten how much fun such things could be.
Of course, to find these primes, about 2 gigabytes of RAM for array
space are needed... I'm sure the algorithm could be refined further by
avoiding storage of multiples of two...         

sounds pretty crap if it runs out of memorty like that. 
I was able to avoid that problem in 1998 (found 200 million primes
used less than 128K memory)

-- 
  \_(ツ)_

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-19 14:53 -0700
  Re: anyone take a shot at this CORRECTED Jamie M <jmorken@shaw.ca> - 2016-04-19 14:58 -0700
  Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-19 22:39 -0400
    Re: anyone take a shot at this bitrex <bitrex@de.lete.earthlink.net> - 2016-04-20 14:02 -0400
      Re: anyone take a shot at this John S <Sophi.2@invalid.org> - 2016-04-20 13:13 -0500
        Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 16:34 -0400
      Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 16:31 -0400
        Re: anyone take a shot at this bitrex <bitrex@de.lete.earthlink.net> - 2016-04-20 18:32 -0400
          Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 20:50 -0400
  Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-20 14:04 -0700
    Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-20 23:36 -0700
      Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-21 11:03 -0700
        Re: anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-21 16:57 -0700
        Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-21 23:50 +0000
          Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-22 15:16 -0700
            Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-23 08:25 +0000
              Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-23 15:36 -0700
                Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-24 01:24 +0000
        Re: anyone take a shot at this Bill Sloman <bill.sloman@ieee.org> - 2016-04-24 13:31 +1000
          Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-23 20:35 -0700
          Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-23 21:26 -0700
            Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-24 00:06 -0700
              Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-24 12:05 +0000
  Re: anyone take a shot at this bloggs.fredbloggs.fred@gmail.com - 2016-04-20 18:18 -0700
    Re: anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-21 00:35 -0700
      Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-21 00:44 -0700

csiph-web