Author serhiy.storchaka
Recipients Arfrever, Claudiu.Popa, Jim.Jewett, ncoghlan, python-dev, serhiy.storchaka
Date 2014-05-25.11:28:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401017333.24.0.890134882185.issue19385@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-05-25 11:28:53serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, Arfrever, Claudiu.Popa, python-dev, Jim.Jewett
2014-05-25 11:28:53serhiy.storchakasetmessageid: <1401017333.24.0.890134882185.issue19385@psf.upfronthosting.co.za>
2014-05-25 11:28:53serhiy.storchakalinkissue19385 messages
2014-05-25 11:28:52serhiy.storchakacreate