Turns out the difference between using xrange and range to get the integers from 1 to 1 million is several gigs of virtual memory. Good to know.
Just one more good reason to proof my code before running, that missing x brought my system to a crawl.
Turns out the difference between using xrange and range to get the integers from 1 to 1 million is several gigs of virtual memory. Good to know.
Just one more good reason to proof my code before running, that missing x brought my system to a crawl.
Discussion
No comments for “Stupid Python Mistake #301”