Author rhettinger
Recipients gregory.p.smith, josh.r, maciej.szulik, nnorwitz, rhettinger, serhiy.storchaka, vstinner
Date 2016-03-13.06:40:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457851220.92.0.286957591362.issue26314@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with Serhiy that this should not be done.   IIRC, there were some discussions on python-dev or python-ideas about using sets for interning and the judgment was the dicts are conceptually the right type and that using sets would be hack.  The other thought was that while a set is generally two-thirds the size of dict, the bulk of the space is for the interned strings themselves.
History
Date User Action Args
2016-03-13 06:40:21rhettingersetrecipients: + rhettinger, nnorwitz, gregory.p.smith, vstinner, serhiy.storchaka, maciej.szulik, josh.r
2016-03-13 06:40:20rhettingersetmessageid: <1457851220.92.0.286957591362.issue26314@psf.upfronthosting.co.za>
2016-03-13 06:40:20rhettingerlinkissue26314 messages
2016-03-13 06:40:20rhettingercreate