[issue23103] ipaddress should be Flyweight

Marc-Andre Lemburg report at bugs.python.org
Wed Dec 24 00:16:07 CET 2014


Marc-Andre Lemburg added the comment:

Josh, you might want to have a look at the lightning talk on this page and the associated slides...

http://www.egenix.com/library/presentations/PyCon-UK-2014-When-performance-matters/

After having done the tests, using __slots__ is what I consider the flyweight pattern in Python.

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23103>
_______________________________________


More information about the Python-bugs-list mailing list