This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.
History
Date User Action Args
2013-03-05 19:58:04neologixsetrecipients: + neologix, brett.cannon, rhettinger, pitrou, christian.heimes, benjamin.peterson, alex, serhiy.storchaka
2013-03-05 19:58:04neologixsetmessageid: <1362513484.87.0.382422894727.issue17338@psf.upfronthosting.co.za>
2013-03-05 19:58:04neologixlinkissue17338 messages
2013-03-05 19:58:04neologixcreate