ProjectEuler problem 35

Jay Norwood jayn at prismnet.com
Sat May 19 09:43:00 PDT 2012


On Wednesday, 16 May 2012 at 09:26:45 UTC, Tiberiu Gal wrote:
> hi
>
> many claim their code solves the problem in order of ms ( 
> c/pascal/haskell code)
>
>

I used the blockwise parallel sieve described here, and measured 
nice speed-ups as described in his blog.  It completes 
calculations within an L1 cache block before moving on.  Perhaps 
you can redesign you code to do the same...

http://create.stephan-brumme.com/eratosthenes/



More information about the Digitalmars-d-learn mailing list