Hacker News new | past | comments | ask | show | jobs | submit login
CPython 2.7: dict() vs {} performance (doughellmann.com)
3 points by rguldener on May 10, 2013 | hide | past | favorite | 1 comment



This is great sleuthing. Bravo sir for a great read. An open source project I contribute to quite a bit uses the dict(foo="bar") method. Perhaps it is time to do some cleanups.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: