Message 388512 - Python tracker
Message388512
| Author | mark.dickinson |
|---|---|
| Recipients | congma, mark.dickinson, rhettinger, tim.peters |
| Date | 2021-03-11.17:57:11 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1615485431.44.0.527639271694.issue43475@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Hmm. On second thoughts, the proposed solution wouldn't actually *help* with the situation I gave: the elements (lazily) realised from the NumPy array are highly likely to all end up with the same address in RAM. :-( >>> x = np.full(10, np.nan) >>> for v in x: ... print(id(v)) ... del v ... 4601757008 4601757008 4601757008 4601757008 4601757008 4601757008 4601757008 4601757008 4601757008 4601757008 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-03-11 17:57:11 | mark.dickinson | set | recipients: + mark.dickinson, tim.peters, rhettinger, congma |
| 2021-03-11 17:57:11 | mark.dickinson | set | messageid: <1615485431.44.0.527639271694.issue43475@roundup.psfhosted.org> |
| 2021-03-11 17:57:11 | mark.dickinson | link | issue43475 messages |
| 2021-03-11 17:57:11 | mark.dickinson | create | |