This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients eric.snow, josh.r, lemburg, ncoghlan, pitrou, pmoody, r.david.murray, rhettinger, sbromberger, serhiy.storchaka
Date 2014-12-26.21:49:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419630578.32.0.298459836478.issue23103@psf.upfronthosting.co.za>
In-reply-to
Content
So, there are several aspects to this request:
- add a __slots__: this is Serhiy's patch
- add some weak interning of IP addresses: I believe it is ok to add it as an optimization, provided it doesn't otherwise change the API or the classes' behaviour

Seth: feel free to write a draft patch of interning, in order to get actual performance/memory consumption numbers. Also, perhaps open a specific issue for it, so we don't have many patches on the same issue?
History
Date User Action Args
2014-12-26 21:49:38pitrousetrecipients: + pitrou, lemburg, rhettinger, ncoghlan, pmoody, r.david.murray, eric.snow, serhiy.storchaka, josh.r, sbromberger
2014-12-26 21:49:38pitrousetmessageid: <1419630578.32.0.298459836478.issue23103@psf.upfronthosting.co.za>
2014-12-26 21:49:38pitroulinkissue23103 messages
2014-12-26 21:49:37pitroucreate