Message211164
> 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. |
|
Date |
User |
Action |
Args |
2014-02-13 19:29:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, pitrou, kristjan.jonsson, vstinner, larry, vajrasky |
2014-02-13 19:29:29 | serhiy.storchaka | set | messageid: <1392319769.57.0.633779348779.issue20416@psf.upfronthosting.co.za> |
2014-02-13 19:29:29 | serhiy.storchaka | link | issue20416 messages |
2014-02-13 19:29:29 | serhiy.storchaka | create | |
|