Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That also goes both way: Pypy defaulted to ordered dicts a few years before cpython did.



The insertion order dict implementation actually comes from pypy


The insertion order dict implementation comes from Raymond Hettinger who is amongst other things a core CPython developer. pypy pulled the trigger on using it first (and probably has optimisations CPython doesn't). PHP also used it before CPython did, IIRC. And possibly Rust (as the third-party indexmap).




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: