Programming Thread

Viewing single post

Started by the-pi-guy, Mar 13, 2016, 10:39 PM

previous topic - next topic

Legend

It's like really, really good that my math function got fixed.  
Have to solve for the first ~250,000,000 numbers.  It takes a long time.  
Probably took about 10 hours.  
Not exactly sure.  I have it count how long, but the computer was also sleeping for a lot of the time.  (I have it running on my laptop)

Took about 20 hours overall.  It must have finished the first part just a few hours ago.  

Now I have a 600 MB text file with just numbers.

Soon I'll have 2.
That's really nice. If it was ever so slightly slower, you'd feel like you did something wrong.

How did you handle memory for that? An array with 250,000,000 entries feels like it could have issues if just used willy nilly.