| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:ed066cca-18f2-e962-f31d-550d5e81b57d |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 8278:26E210:252BF1:31575C:6B023020 |
| html-safe-nonce | 8d88b72b090df22f7cc6043677fa76b570b173f9b585d188596363c5c67c19bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mjc4OjI2RTIxMDoyNTJCRjE6MzE1NzVDOjZCMDIzMDIwIiwidmlzaXRvcl9pZCI6Ijg3Mzg4Njg1MjQ3MjM4NzU4NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9ba0f17a2ed6c37a4defccfac428f691a53871cac3e368cc684b4a616dc1025c |
| hovercard-subject-tag | repository:1447790285 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules/_heapqmodule.c |
| twitter:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| og:image:alt | The Python programming language. Contribute to sidlovescoding/Cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/sidlovescoding/Cpython git https://github.com/sidlovescoding/Cpython.git |
| octolytics-dimension-user_id | 207958570 |
| octolytics-dimension-user_login | sidlovescoding |
| octolytics-dimension-repository_id | 1447790285 |
| octolytics-dimension-repository_nwo | sidlovescoding/Cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 81598961 |
| octolytics-dimension-repository_parent_nwo | python/cpython |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules/_heapqmodule.c#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fcommits%2Fsid-python-3.15%2FModules%2F_heapqmodule.c |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fcommits%2Fsid-python-3.15%2FModules%2F_heapqmodule.c |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommits%2Fshow&source=header-repo&source_repo=sidlovescoding%2FCpython |
| Reload | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules/_heapqmodule.c |
| Reload | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules/_heapqmodule.c |
| Reload | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules/_heapqmodule.c |
| sidlovescoding | https://github.com/sidlovescoding |
| Cpython | https://github.com/sidlovescoding/Cpython |
| Code | https://github.com/sidlovescoding/Cpython |
| Pull requests1 (1) | https://github.com/sidlovescoding/Cpython/pulls |
| Actions | https://github.com/sidlovescoding/Cpython/actions |
| Projects | https://github.com/sidlovescoding/Cpython/projects |
| Security and quality | https://github.com/sidlovescoding/Cpython/security |
| Insights | https://github.com/sidlovescoding/Cpython/pulse |
| https://github.com/sidlovescoding/Cpython |
| Cpython | https://github.com/sidlovescoding/Cpython/commits |
| Modules | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules |
| _heapqmodule.c | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules/_heapqmodule.c |
| sid-python-3.15 | https://github.com/sidlovescoding/Cpython/tree/sid-python-3.15 |
| [3.15] gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338) (GH-150350) | https://github.com/sidlovescoding/Cpython/commit/cf73b17adfd102a34a01efbad89a83dffdec2806 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/sidlovescoding/Cpython/commits?author=serhiy-storchaka |
| cf73b17 | https://github.com/sidlovescoding/Cpython/commit/cf73b17adfd102a34a01efbad89a83dffdec2806 |
| https://github.com/sidlovescoding/Cpython/blob/cf73b17adfd102a34a01efbad89a83dffdec2806/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/cf73b17adfd102a34a01efbad89a83dffdec2806 |
| gh-128341: Use _Py_ABI_SLOT in stdlib modules (#145770) | https://github.com/sidlovescoding/Cpython/commit/1887a95f515274868be31b27231dfcbfc055f03c |
| befeleme | https://github.com/sidlovescoding/Cpython/commits?author=befeleme |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 1887a95 | https://github.com/sidlovescoding/Cpython/commit/1887a95f515274868be31b27231dfcbfc055f03c |
| https://github.com/sidlovescoding/Cpython/blob/1887a95f515274868be31b27231dfcbfc055f03c/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/1887a95f515274868be31b27231dfcbfc055f03c |
| Fix comments for `heapq.siftup_max` (#135359) | https://github.com/sidlovescoding/Cpython/commit/8f8bdf251a5f79d15ac2b1a6d19860033bf50c79 |
| yoney | https://github.com/sidlovescoding/Cpython/commits?author=yoney |
| mpage | https://github.com/sidlovescoding/Cpython/commits?author=mpage |
| 8f8bdf2 | https://github.com/sidlovescoding/Cpython/commit/8f8bdf251a5f79d15ac2b1a6d19860033bf50c79 |
| https://github.com/sidlovescoding/Cpython/blob/8f8bdf251a5f79d15ac2b1a6d19860033bf50c79/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/8f8bdf251a5f79d15ac2b1a6d19860033bf50c79 |
| gh-135557: use atomic stores in `heapq` operations in free-threading (#135601) | https://github.com/sidlovescoding/Cpython/commit/13cac833471885564cbfde72a4cbac64ade3137a |
| https://github.com/xuantengh |
| xuantengh | https://github.com/sidlovescoding/Cpython/commits?author=xuantengh |
| 13cac83 | https://github.com/sidlovescoding/Cpython/commit/13cac833471885564cbfde72a4cbac64ade3137a |
| https://github.com/sidlovescoding/Cpython/blob/13cac833471885564cbfde72a4cbac64ade3137a/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/13cac833471885564cbfde72a4cbac64ade3137a |
| gh-116738: Make _heapq module thread-safe (#135036) | https://github.com/sidlovescoding/Cpython/commit/a58026a5e3da9ca2d09ef51aa90fe217f9a975ec |
| yoney | https://github.com/sidlovescoding/Cpython/commits?author=yoney |
| mpage | https://github.com/sidlovescoding/Cpython/commits?author=mpage |
| a58026a | https://github.com/sidlovescoding/Cpython/commit/a58026a5e3da9ca2d09ef51aa90fe217f9a975ec |
| https://github.com/sidlovescoding/Cpython/blob/a58026a5e3da9ca2d09ef51aa90fe217f9a975ec/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/a58026a5e3da9ca2d09ef51aa90fe217f9a975ec |
| gh-110067: Make max heap methods public and add missing ones (GH-130725) | https://github.com/sidlovescoding/Cpython/commit/f5b784741da7fa7fd6484ebb5d828ea7617c2714 |
| f5b7847 | https://github.com/sidlovescoding/Cpython/commit/f5b784741da7fa7fd6484ebb5d828ea7617c2714 |
| https://github.com/sidlovescoding/Cpython/blob/f5b784741da7fa7fd6484ebb5d828ea7617c2714/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/f5b784741da7fa7fd6484ebb5d828ea7617c2714 |
| Remove almost all unpaired backticks in docstrings (#119231) | https://github.com/sidlovescoding/Cpython/commit/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b |
| https://github.com/geofft |
| geofft | https://github.com/sidlovescoding/Cpython/commits?author=geofft |
| ef17252 | https://github.com/sidlovescoding/Cpython/commit/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b |
| https://github.com/sidlovescoding/Cpython/blob/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b |
| gh-116322: Add Py_mod_gil module slot (#116882) | https://github.com/sidlovescoding/Cpython/commit/c2627d6eea924daf80f374c18a5fd73ef61283fa |
| https://github.com/swtaarrs |
| swtaarrs | https://github.com/sidlovescoding/Cpython/commits?author=swtaarrs |
| c2627d6 | https://github.com/sidlovescoding/Cpython/commit/c2627d6eea924daf80f374c18a5fd73ef61283fa |
| https://github.com/sidlovescoding/Cpython/blob/c2627d6eea924daf80f374c18a5fd73ef61283fa/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/c2627d6eea924daf80f374c18a5fd73ef61283fa |
| gh-86493: Modernize modules initialization code (GH-106858) | https://github.com/sidlovescoding/Cpython/commit/329e4a1a3f8c53d9d120d2eed93b95a04b826f2f |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/sidlovescoding/Cpython/commits?author=serhiy-storchaka |
| 329e4a1 | https://github.com/sidlovescoding/Cpython/commit/329e4a1a3f8c53d9d120d2eed93b95a04b826f2f |
| https://github.com/sidlovescoding/Cpython/blob/329e4a1a3f8c53d9d120d2eed93b95a04b826f2f/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/329e4a1a3f8c53d9d120d2eed93b95a04b826f2f |
| gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205) | https://github.com/sidlovescoding/Cpython/commit/a9c6e0618f26270e2591b3d99ffeef55eea02a33 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/sidlovescoding/Cpython/commits?author=ericsnowcurrently |
| a9c6e06 | https://github.com/sidlovescoding/Cpython/commit/a9c6e0618f26270e2591b3d99ffeef55eea02a33 |
| https://github.com/sidlovescoding/Cpython/blob/a9c6e0618f26270e2591b3d99ffeef55eea02a33/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/a9c6e0618f26270e2591b3d99ffeef55eea02a33 |
| gh-99300: Use Py_NewRef() in Modules/ directory (#99466) | https://github.com/sidlovescoding/Cpython/commit/3817607b8a345851e4fa436747a346890ced33f1 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| 3817607 | https://github.com/sidlovescoding/Cpython/commit/3817607b8a345851e4fa436747a346890ced33f1 |
| https://github.com/sidlovescoding/Cpython/blob/3817607b8a345851e4fa436747a346890ced33f1/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/3817607b8a345851e4fa436747a346890ced33f1 |
| bpo-43974: Move Py_BUILD_CORE_MODULE into module code (GH-29157) | https://github.com/sidlovescoding/Cpython/commit/03e9f5dc751b8c441a85f428abc3f432ffe46345 |
| https://github.com/tiran |
| tiran | https://github.com/sidlovescoding/Cpython/commits?author=tiran |
| 03e9f5d | https://github.com/sidlovescoding/Cpython/commit/03e9f5dc751b8c441a85f428abc3f432ffe46345 |
| https://github.com/sidlovescoding/Cpython/blob/03e9f5dc751b8c441a85f428abc3f432ffe46345/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/03e9f5dc751b8c441a85f428abc3f432ffe46345 |
| bpo-41078: Add pycore_list.h internal header file (GH-21057) | https://github.com/sidlovescoding/Cpython/commit/c45dbe93b7094fe014442c198727ee38b25541c4 |
| https://github.com/vstinner |
| vstinner | https://github.com/sidlovescoding/Cpython/commits?author=vstinner |
| c45dbe9 | https://github.com/sidlovescoding/Cpython/commit/c45dbe93b7094fe014442c198727ee38b25541c4 |
| https://github.com/sidlovescoding/Cpython/blob/c45dbe93b7094fe014442c198727ee38b25541c4/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/c45dbe93b7094fe014442c198727ee38b25541c4 |
| Let the argument clinic do the type checking for heapq (GH-20284) | https://github.com/sidlovescoding/Cpython/commit/0226f3eba0673f55025114537cc8141fb5dcbcdf |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 0226f3e | https://github.com/sidlovescoding/Cpython/commit/0226f3eba0673f55025114537cc8141fb5dcbcdf |
| https://github.com/sidlovescoding/Cpython/blob/0226f3eba0673f55025114537cc8141fb5dcbcdf/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/0226f3eba0673f55025114537cc8141fb5dcbcdf |
| bpo-1635741: Port _heapq module to multiphase initialization (GH19057) | https://github.com/sidlovescoding/Cpython/commit/4657a8a0d006c76699ba3d1d4d21a04860bb2586 |
| https://github.com/corona10 |
| corona10 | https://github.com/sidlovescoding/Cpython/commits?author=corona10 |
| 4657a8a | https://github.com/sidlovescoding/Cpython/commit/4657a8a0d006c76699ba3d1d4d21a04860bb2586 |
| https://github.com/sidlovescoding/Cpython/blob/4657a8a0d006c76699ba3d1d4d21a04860bb2586/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/4657a8a0d006c76699ba3d1d4d21a04860bb2586 |
| bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) | https://github.com/sidlovescoding/Cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/sidlovescoding/Cpython/commits?author=pablogsal |
| 79f89e6 | https://github.com/sidlovescoding/Cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861 |
| https://github.com/sidlovescoding/Cpython/blob/79f89e6e5a659846d1068e8b1bd8e491ccdef861/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/79f89e6e5a659846d1068e8b1bd8e491ccdef861 |
| bpo-34797: Convert heapq to the argument clinic (GH-9560) | https://github.com/sidlovescoding/Cpython/commit/e2f48bf0e851dc79d888c70fd24c631a8a9e1030 |
| pablogsal | https://github.com/sidlovescoding/Cpython/commits?author=pablogsal |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| e2f48bf | https://github.com/sidlovescoding/Cpython/commit/e2f48bf0e851dc79d888c70fd24c631a8a9e1030 |
| https://github.com/sidlovescoding/Cpython/blob/e2f48bf0e851dc79d888c70fd24c631a8a9e1030/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/e2f48bf0e851dc79d888c70fd24c631a8a9e1030 |
| Issue #15984: Merge PyUnicode doc from 3.5 | https://github.com/sidlovescoding/Cpython/commit/cda80940ed444d01beed797dcd86c207f11104bc |
| https://github.com/vadmium |
| vadmium | https://github.com/sidlovescoding/Cpython/commits?author=vadmium |
| cda8094 | https://github.com/sidlovescoding/Cpython/commit/cda80940ed444d01beed797dcd86c207f11104bc |
| https://github.com/sidlovescoding/Cpython/blob/cda80940ed444d01beed797dcd86c207f11104bc/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/cda80940ed444d01beed797dcd86c207f11104bc |
| Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | https://github.com/sidlovescoding/Cpython/commit/6245cb3c015a5b9febef4d6ef30d3acfc762a79d |
| https://github.com/vadmium |
| vadmium | https://github.com/sidlovescoding/Cpython/commits?author=vadmium |
| 6245cb3 | https://github.com/sidlovescoding/Cpython/commit/6245cb3c015a5b9febef4d6ef30d3acfc762a79d |
| https://github.com/sidlovescoding/Cpython/blob/6245cb3c015a5b9febef4d6ef30d3acfc762a79d/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/6245cb3c015a5b9febef4d6ef30d3acfc762a79d |
| Only update the arr variable when PyObject_RichCompareBool() has been called. | https://github.com/sidlovescoding/Cpython/commit/2300bf29e69ec9ecee563134f8cdfdab93b2a7c0 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 2300bf2 | https://github.com/sidlovescoding/Cpython/commit/2300bf29e69ec9ecee563134f8cdfdab93b2a7c0 |
| https://github.com/sidlovescoding/Cpython/blob/2300bf29e69ec9ecee563134f8cdfdab93b2a7c0/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/2300bf29e69ec9ecee563134f8cdfdab93b2a7c0 |
| Divisions-by-two for a positive Py_ssize_t compile more cleanly with >>1 than /2. | https://github.com/sidlovescoding/Cpython/commit/cfe5b6ca04a14ef1ba42e78bf6da05cfa9c0b66b |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| cfe5b6c | https://github.com/sidlovescoding/Cpython/commit/cfe5b6ca04a14ef1ba42e78bf6da05cfa9c0b66b |
| https://github.com/sidlovescoding/Cpython/blob/cfe5b6ca04a14ef1ba42e78bf6da05cfa9c0b66b/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/cfe5b6ca04a14ef1ba42e78bf6da05cfa9c0b66b |
| Issue #24221: Small optimizations for heapq. | https://github.com/sidlovescoding/Cpython/commit/5cbd8331ff567ee568713dc5e63820ffb453ac4b |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 5cbd833 | https://github.com/sidlovescoding/Cpython/commit/5cbd8331ff567ee568713dc5e63820ffb453ac4b |
| https://github.com/sidlovescoding/Cpython/blob/5cbd8331ff567ee568713dc5e63820ffb453ac4b/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/5cbd8331ff567ee568713dc5e63820ffb453ac4b |
| Tighten-up code by eliminating an unnecessary variable. | https://github.com/sidlovescoding/Cpython/commit/c784c6db6056729427b8e61161101e4bb5d73150 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| c784c6d | https://github.com/sidlovescoding/Cpython/commit/c784c6db6056729427b8e61161101e4bb5d73150 |
| https://github.com/sidlovescoding/Cpython/blob/c784c6db6056729427b8e61161101e4bb5d73150/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/c784c6db6056729427b8e61161101e4bb5d73150 |
| Minor code clean-up. | https://github.com/sidlovescoding/Cpython/commit/d69755d1a3b778e9e367c96769f348d1eb0c630c |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| d69755d | https://github.com/sidlovescoding/Cpython/commit/d69755d1a3b778e9e367c96769f348d1eb0c630c |
| https://github.com/sidlovescoding/Cpython/blob/d69755d1a3b778e9e367c96769f348d1eb0c630c/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/d69755d1a3b778e9e367c96769f348d1eb0c630c |
| More timings suggest that 2500 is closer to the break-even point. | https://github.com/sidlovescoding/Cpython/commit/636488043b490ab70413990b458443aa41f504b2 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 6364880 | https://github.com/sidlovescoding/Cpython/commit/636488043b490ab70413990b458443aa41f504b2 |
| https://github.com/sidlovescoding/Cpython/blob/636488043b490ab70413990b458443aa41f504b2/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/636488043b490ab70413990b458443aa41f504b2 |
| merge | https://github.com/sidlovescoding/Cpython/commit/4e6bf4b3da03b132b0698f30ee931a350585b117 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 4e6bf4b | https://github.com/sidlovescoding/Cpython/commit/4e6bf4b3da03b132b0698f30ee931a350585b117 |
| https://github.com/sidlovescoding/Cpython/blob/4e6bf4b3da03b132b0698f30ee931a350585b117/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/4e6bf4b3da03b132b0698f30ee931a350585b117 |
| Defend against a mutation during comparison | https://github.com/sidlovescoding/Cpython/commit/b9db9e152f3325b075e59ef4fdecfd0b9ec4746c |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| b9db9e1 | https://github.com/sidlovescoding/Cpython/commit/b9db9e152f3325b075e59ef4fdecfd0b9ec4746c |
| https://github.com/sidlovescoding/Cpython/blob/b9db9e152f3325b075e59ef4fdecfd0b9ec4746c/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/b9db9e152f3325b075e59ef4fdecfd0b9ec4746c |
| Minor code cleanups. | https://github.com/sidlovescoding/Cpython/commit/99bf9a256754319a64b84dd633d91d8eedd497a7 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 99bf9a2 | https://github.com/sidlovescoding/Cpython/commit/99bf9a256754319a64b84dd633d91d8eedd497a7 |
| https://github.com/sidlovescoding/Cpython/blob/99bf9a256754319a64b84dd633d91d8eedd497a7/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/99bf9a256754319a64b84dd633d91d8eedd497a7 |
| Minor stylistic clean-up. | https://github.com/sidlovescoding/Cpython/commit/a032e46df64330ec9e6e188d9ea53f594d0a0fbf |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| a032e46 | https://github.com/sidlovescoding/Cpython/commit/a032e46df64330ec9e6e188d9ea53f594d0a0fbf |
| https://github.com/sidlovescoding/Cpython/blob/a032e46df64330ec9e6e188d9ea53f594d0a0fbf/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/a032e46df64330ec9e6e188d9ea53f594d0a0fbf |
| Issue #24155: Optimize heapify for better cache utililzation. | https://github.com/sidlovescoding/Cpython/commit/bc33e57d56434d6feb99b77f10a3bc884f3a61ce |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| bc33e57 | https://github.com/sidlovescoding/Cpython/commit/bc33e57d56434d6feb99b77f10a3bc884f3a61ce |
| https://github.com/sidlovescoding/Cpython/blob/bc33e57d56434d6feb99b77f10a3bc884f3a61ce/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/bc33e57d56434d6feb99b77f10a3bc884f3a61ce |
| Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq. | https://github.com/sidlovescoding/Cpython/commit/1dd8e71eb3207a841844ee35520b0e5b458916db |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 1dd8e71 | https://github.com/sidlovescoding/Cpython/commit/1dd8e71eb3207a841844ee35520b0e5b458916db |
| https://github.com/sidlovescoding/Cpython/blob/1dd8e71eb3207a841844ee35520b0e5b458916db/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/1dd8e71eb3207a841844ee35520b0e5b458916db |
| Factor common code into internal functions. | https://github.com/sidlovescoding/Cpython/commit/48f68d00b8e017050489635c04c82153a345a336 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 48f68d0 | https://github.com/sidlovescoding/Cpython/commit/48f68d00b8e017050489635c04c82153a345a336 |
| https://github.com/sidlovescoding/Cpython/blob/48f68d00b8e017050489635c04c82153a345a336/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/48f68d00b8e017050489635c04c82153a345a336 |
| Issue 21424: Apply the nlargest() optimizations to nsmallest() as well. | https://github.com/sidlovescoding/Cpython/commit/234fb2d503cd8f8bae56eb7fa4d0a88cd1b7c03a |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 234fb2d | https://github.com/sidlovescoding/Cpython/commit/234fb2d503cd8f8bae56eb7fa4d0a88cd1b7c03a |
| https://github.com/sidlovescoding/Cpython/blob/234fb2d503cd8f8bae56eb7fa4d0a88cd1b7c03a/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/234fb2d503cd8f8bae56eb7fa4d0a88cd1b7c03a |
| Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons. | https://github.com/sidlovescoding/Cpython/commit/277842eff12eba1ceeeba1cee93db3ec99d5c95a |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 277842e | https://github.com/sidlovescoding/Cpython/commit/277842eff12eba1ceeeba1cee93db3ec99d5c95a |
| https://github.com/sidlovescoding/Cpython/blob/277842eff12eba1ceeeba1cee93db3ec99d5c95a/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/277842eff12eba1ceeeba1cee93db3ec99d5c95a |
| Neaten-up a bit add add missing size change check. | https://github.com/sidlovescoding/Cpython/commit/90e93383830cb7276d33fff7e670516d78337121 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/sidlovescoding/Cpython/commits?author=rhettinger |
| 90e9338 | https://github.com/sidlovescoding/Cpython/commit/90e93383830cb7276d33fff7e670516d78337121 |
| https://github.com/sidlovescoding/Cpython/blob/90e93383830cb7276d33fff7e670516d78337121/Modules/_heapqmodule.c |
| https://github.com/sidlovescoding/Cpython/tree/90e93383830cb7276d33fff7e670516d78337121 |
| Next | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/Modules/_heapqmodule.c?after=5f195e660b99174975f9b1a66926dbe63fe86ddc+34 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |