[issue11257] asyncore stores unnecessary object references

Giampaolo Rodola' report at bugs.python.org
Mon Feb 21 17:27:18 CET 2011


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

I'd be fine with this. My only concern are performances.
I've tried this:
http://code.google.com/p/pyftpdlib/issues/attachmentText?id=152&aid=-7106494857544071944&name=bench.py&token=bd350bbd6909c7c2a70da55db15d24ed

Results:

plain dict: 722.26 Mb/sec
WeakValueDictionary: 659.76 Mb/sec

----------

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


More information about the Python-bugs-list mailing list