[triangle-zpug] why is this using a lot of memory?

Joseph Mack NA3T jmack at wm7d.net
Tue Mar 25 19:43:15 UTC 2008

On Tue, 25 Mar 2008, Chris Calloway wrote:

> In addition to the memory-conserving xrange, you don't need the loop.
> This will do the same thing:
> >>> sum(xrange(10000000))
> 49999995000000L

sure. The code I sent was the problem reduced to its 
minimum. I needed some line in the loop, any line would have 


Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

More information about the triangle-zpug mailing list