This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients facundobatista, gtang, tim.peters
Date 2008-06-08.16:18:25
SpamBayes Score 0.042900156
Marked as misclassified No
Message-id <1212941907.48.0.152007405158.issue3063@psf.upfronthosting.co.za>
In-reply-to
Content
Strongly doubt this has anything to do with random number generation. 
Python maintains a freelist for float objects, which is both unbounded
and immortal.  Instead of doing "data[i] = random()", do, e.g., "data[i]
= float(s)", and I bet you'll see the same behavior.  That is, whenever
you create a number of distinct float objects simultaneously alive, the
space they occupy is never released (although it is available to be
reused for other float objects).  The use of random() here simply
creates a large number of distinct float objects simultaneously alive.
History
Date User Action Args
2008-06-08 16:18:27tim.peterssetspambayes_score: 0.0429002 -> 0.042900156
recipients: + tim.peters, facundobatista, gtang
2008-06-08 16:18:27tim.peterssetspambayes_score: 0.0429002 -> 0.0429002
messageid: <1212941907.48.0.152007405158.issue3063@psf.upfronthosting.co.za>
2008-06-08 16:18:26tim.peterslinkissue3063 messages
2008-06-08 16:18:25tim.peterscreate