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:46:40
SpamBayes Score 0.30881718
Marked as misclassified No
Message-id <1212943601.45.0.700657990293.issue3063@psf.upfronthosting.co.za>
In-reply-to
Content
They stayed alive simultaneously because you stored 100 million of them
simultaneously in a list (data[]).  If instead you did, e.g.,

for i in xrange(100000000):
    x = random()

the problem would go away -- then only two float objects are
simultaneously alive at any given time (the "old" float in `x` stays
alive until the "new" float created by random() replaces it).
History
Date User Action Args
2008-06-08 16:46:41tim.peterssetspambayes_score: 0.308817 -> 0.30881718
recipients: + tim.peters, facundobatista, gtang
2008-06-08 16:46:41tim.peterssetspambayes_score: 0.308817 -> 0.308817
messageid: <1212943601.45.0.700657990293.issue3063@psf.upfronthosting.co.za>
2008-06-08 16:46:40tim.peterslinkissue3063 messages
2008-06-08 16:46:40tim.peterscreate