|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^6: Project Euler (a series of challenging mathematical/computer programming problems)by BrowserUk (Patriarch) |
| on Feb 04, 2006 at 19:39 UTC ( [id://528027]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I just saw that and decided to time the mechanism I suggested. At 1/3rd of a second for the first million, it even surprised me :)
That's the ascii version, and it does slow down quite quickly due memory allocation as you go larger; 2 million takes 8 seconds. I might try the binary file version later. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Meditations
|
|
||||||||||||||||||||||||