Message183552
| Author |
neologix |
| Recipients |
alex, benjamin.peterson, brett.cannon, christian.heimes, neologix, pitrou, rhettinger, serhiy.storchaka |
| Date |
2013年03月05日.19:58:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1362513484.87.0.382422894727.issue17338@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Here is an experimental patch. The speedup is ... measurable.
It's likely to be more useful for dict and set, to avoid/limit rehashs.
Also, the allocation overhead depends on the implementation, I suspect the gain would be more important with PyPy.
FWIW, Java proposes this for lists and maps, but I'm not convinced exposing such tunables really makes sense for Python. |
|