➜

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.

作者 tim.peters
收信人 facundobatista, gtang, tim.peters
日期 2008-06-08.16:46:40
SpamBayes Score 0.30881718
Marked as misclassified 否
Message-id <1212943601.45.0.700657990293.issue3063@psf.upfronthosting.co.za>
In-reply-to
内容
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).
历史
日期 用户 动作 参数
2008-06-08 16:46:41tim.peters修改spambayes_score: 0.308817 -> 0.30881718
recipients: + tim.peters, facundobatista, gtang
2008-06-08 16:46:41tim.peters修改spambayes_score: 0.308817 -> 0.308817
messageid: <1212943601.45.0.700657990293.issue3063@psf.upfronthosting.co.za>
2008-06-08 16:46:40tim.peters链接issue3063 messages
2008-06-08 16:46:40tim.peters创建