In my quest to more fully understand math and perl, I've created a program that goes through an infinite loop of numbers (that gets bigger each time) and it does some stuff to it using prime numbers. I'm hoping to speed this up using the module memoize. It's a lot faster, I've already tested it. It makes some calls to the sub prime each time through the loop, so I memoized it. Right now the number's in the 9_000_000's. It goes through about 50 numbers a second.
The question is: How long will it take before my computer's memory is full? or How often should I flush the cache? The last thing I want is for my computer to crash from memory. Thanks for the help,
- p u n k k i d
"Reality is merely an illusion,
albeit a very persistent one."
-Albert Einstein
In reply to How often should I flush? by elusion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |