Message219083
There is no need to speed up methods which do IO (__getitem__, __setitem__, __delitem__). However method which works only with an index (keys, iterkeys, __contains__, __len__) can be optimized. In the __contains__ method an exception can be raised not only by nen-existent __contains__ of None, but from __hash__ or __eq__ methods of a key, so we should distinguish these cases. |
|
Date |
User |
Action |
Args |
2014-05-25 11:28:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, Arfrever, Claudiu.Popa, python-dev, Jim.Jewett |
2014-05-25 11:28:53 | serhiy.storchaka | set | messageid: <1401017333.24.0.890134882185.issue19385@psf.upfronthosting.co.za> |
2014-05-25 11:28:53 | serhiy.storchaka | link | issue19385 messages |
2014-05-25 11:28:52 | serhiy.storchaka | create | |
|