{"id":15473508,"url":"https://github.com/fidget-spinner/cpython_optimization_notes","last_synced_at":"2025-05-07T21:21:27.513Z","repository":{"id":105103668,"uuid":"415510940","full_name":"Fidget-Spinner/cpython_optimization_notes","owner":"Fidget-Spinner","description":"Personal notes on optimizations in CPython","archived":false,"fork":false,"pushed_at":"2025-05-07T16:19:45.000Z","size":34,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T16:48:03.092Z","etag":null,"topics":["c","cpython","cpython-internals","interpreter","learning-materials","python"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fidget-Spinner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-10T07:02:00.000Z","updated_at":"2024-02-02T08:15:00.000Z","dependencies_parsed_at":"2024-01-25T14:47:52.454Z","dependency_job_id":"7e5f3d9c-6d93-40a5-ba0b-2e7a362aa4ce","html_url":"https://github.com/Fidget-Spinner/cpython_optimization_notes","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"a23a9ac66f4ffd2d4a4eb0e80c0dc712275f823f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fidget-Spinner%2Fcpython_optimization_notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fidget-Spinner%2Fcpython_optimization_notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fidget-Spinner%2Fcpython_optimization_notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fidget-Spinner%2Fcpython_optimization_notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fidget-Spinner","download_url":"https://codeload.github.com/Fidget-Spinner/cpython_optimization_notes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252955081,"owners_count":21831038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cpython","cpython-internals","interpreter","learning-materials","python"],"created_at":"2024-10-02T02:54:21.015Z","updated_at":"2025-05-07T21:21:27.474Z","avatar_url":"https://github.com/Fidget-Spinner.png","language":null,"readme":"# CPython Optimization Notes\n\n## Introduction\n[CPython](https://docs.python.org/3/glossary.html) is the reference\nimplementation of the Python programming language.\n\nIn this document, I’ll summarise major speedups to the core parts of CPython\nin the following versions:\n\n- 3.11\n\nTo get the most out of this, you should have knowledge of Python (especially in\ndata model/dunder methods). Being able to read C is also a plus though not\nstrictly necessary. Some knowledge of common data structures (hash tables,\nlinkedlist, etc.) is also beneficial.\n\nIf you’re interested in the internals of CPython, and/or want to contribute, I\nbelieve this document has some educational value for you. If you find any parts\nhard to understand due to poor wording or plain inaccuracies, please open a PR!\n\nDive in by reading the [index for 3.11](./3.11/README.md).\n\n## Related Reading\n\nI only list resources I’ve read before. I’m in no way affiliated with any of\nthese works (except the devguide 😉):\n- Complete beginner’s guide with visual diagrams:\n  https://realpython.com/cpython-source-code-guide/\n- High-level overview and deep-dive of many objects and parts of CPython:\n  https://github.com/zpoint/CPython-Internals\n- Like the previous guide, but arranged around topics:\n  https://tenthousandmeters.com/ \n- CPython devguide: https://devguide.python.org/setup/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffidget-spinner%2Fcpython_optimization_notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffidget-spinner%2Fcpython_optimization_notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffidget-spinner%2Fcpython_optimization_notes/lists"}