Message183552
> 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. |
|
Date |
User |
Action |
Args |
2013-03-05 19:58:04 | neologix | set | recipients:
+ neologix, brett.cannon, rhettinger, pitrou, christian.heimes, benjamin.peterson, alex, serhiy.storchaka |
2013-03-05 19:58:04 | neologix | set | messageid: <1362513484.87.0.382422894727.issue17338@psf.upfronthosting.co.za> |
2013-03-05 19:58:04 | neologix | link | issue17338 messages |
2013-03-05 19:58:04 | neologix | create | |
|