Author rhettinger
Recipients Prometheus3375, rhettinger
Date 2021-07-21.23:44:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626911056.96.0.131447906117.issue44703@roundup.psfhosted.org>
In-reply-to
Content
Returning the same object is just a micro-optimization and we've decided that it isn't worth it.  In bpo-40521, frozenset() stop being a singleton.  This costs a small bit of space but saves code complexity and a bit of execution time (especially given that we no longer have cheap access to global state).

Thanks for the suggestion, but we'll pass.
History
Date User Action Args
2021-07-21 23:44:17rhettingersetrecipients: + rhettinger, Prometheus3375
2021-07-21 23:44:16rhettingersetmessageid: <1626911056.96.0.131447906117.issue44703@roundup.psfhosted.org>
2021-07-21 23:44:16rhettingerlinkissue44703 messages
2021-07-21 23:44:16rhettingercreate