Message218595
| Author |
vstinner |
| Recipients |
josh.r, lebedov, pitrou, rhettinger, serhiy.storchaka, vstinner |
| Date |
2014年05月15日.07:12:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1400137921.65.0.986342118984.issue21507@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
"I think the argument against using PyObject_LengthHint for the general iterable case is that for inputs other than sets or dicts, the assumption is that significant deduplication will occur."
Oh... I'm dumb :) Sorry.
Another option for frozenset only: we may adjust the internal size when the frozenset is created from an iterator. |
|