Message211164
| Author |
serhiy.storchaka |
| Recipients |
kristjan.jonsson, larry, loewis, pitrou, serhiy.storchaka, vajrasky, vstinner |
| Date |
2014年02月13日.19:29:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1392319769.57.0.633779348779.issue20416@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> As a compromise, we could suppress the sharing for small int objects, since they are singletons, anyway.
This is implementation detail.
But we can use more efficient way to memoizating small int objects.
I also suppose than efficient C implementation of IdentityDict will significant decrease an overhead (may be 2 times). As far as this is probably a first case for which IdentityDict give significant benefit, I'll provide an implementation for 3.5. |
|