This page says dict.setdefault does a double lookup https://wiki.python.org/moin/PythonSpeed/PerformanceTips but that changed in 3.3: https://docs.python.org/3/whatsnew/3.3.html#other-language-changes
Thanks.
_______________________________________________ pydotorg-www mailing list [email protected] https://mail.python.org/mailman/listinfo/pydotorg-www
