Message370957
> What about returning another dict_items instead of a set?
That API ship has already sailed. The published API guarantees that a set is returned — there is no changing that.
The question is whether we care enough to provide an optimized implementation that doesn't call __hash__() when the hash value has already been computed and stored. |
|
Date |
User |
Action |
Args |
2020-06-08 04:52:44 | rhettinger | set | recipients:
+ rhettinger, serhiy.storchaka, Dennis Sweeney |
2020-06-08 04:52:44 | rhettinger | set | messageid: <1591591964.63.0.136662162619.issue40889@roundup.psfhosted.org> |
2020-06-08 04:52:44 | rhettinger | link | issue40889 messages |
2020-06-08 04:52:44 | rhettinger | create | |
|