Message148524
| Author |
tim.peters |
| Recipients |
Voo, mark.dickinson, rhettinger, tim.peters |
| Date |
2011年11月28日.23:45:41 |
| SpamBayes Score |
3.6831338e-05 |
| Marked as misclassified |
No |
| Message-id |
<1322523942.31.0.838759156554.issue13496@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
FWIW, I doubt there's a real issue here. Objects in Python consume a lot more than a byte or two of memory, so the index range of a Python list is generally a lot less than ssize_t allows for. In other words, quantify "large" in "large arrays". How large can a Python list actually be, relative to ssize_t? Similar reasoning accounts for why we never worry about overflow when mucking with refcounts: the size of a refcount member exceeds the maximum number of references that could exist. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年11月28日 23:45:42 | tim.peters | set | recipients:
+ tim.peters, rhettinger, mark.dickinson, Voo |
| 2011年11月28日 23:45:42 | tim.peters | set | messageid: <1322523942.31.0.838759156554.issue13496@psf.upfronthosting.co.za> |
| 2011年11月28日 23:45:41 | tim.peters | link | issue13496 messages |
| 2011年11月28日 23:45:41 | tim.peters | create |
|