Title: sqlite3: Replace Py_BuildValue with faster APIs · Issue #93829 · python/cpython · GitHub
Open Graph Title: sqlite3: Replace Py_BuildValue with faster APIs · Issue #93829 · python/cpython
X Title: sqlite3: Replace Py_BuildValue with faster APIs · Issue #93829 · python/cpython
Description: cpython/Modules/_sqlite/microprotocols.c Lines 83 to 87 in 274769c /* look for an adapter in the registry */ key = Py_BuildValue("(OO)", (PyObject*)Py_TYPE(obj), proto); if (!key) { return NULL; } Can use faster PyTuple_Pack. cpython/Mod...
Open Graph Description: cpython/Modules/_sqlite/microprotocols.c Lines 83 to 87 in 274769c /* look for an adapter in the registry */ key = Py_BuildValue("(OO)", (PyObject*)Py_TYPE(obj), proto); if (!key) { return NULL; } ...
X Description: cpython/Modules/_sqlite/microprotocols.c Lines 83 to 87 in 274769c /* look for an adapter in the registry */ key = Py_BuildValue("(OO)", (PyObject*)Py_TYPE(obj), proto); if (!key) { retur...
Opengraph URL: https://github.com/python/cpython/issues/93829
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sqlite3: Replace Py_BuildValue with faster APIs","articleBody":"https://github.com/python/cpython/blob/274769c61c5f3f3d2d749824cbed26e15813ce14/Modules/_sqlite/microprotocols.c#L83-L87\r\n\r\nCan use faster `PyTuple_Pack`.\r\n\r\nhttps://github.com/python/cpython/blob/274769c61c5f3f3d2d749824cbed26e15813ce14/Modules/_sqlite/microprotocols.c#L60-L63\r\n\r\nCan use faster `PyTuple_Pack`.\r\n\r\nhttps://github.com/python/cpython/blob/274769c61c5f3f3d2d749824cbed26e15813ce14/Modules/_sqlite/connection.c#L1585-L1587\r\n\r\nCan use `PyLong_FromLong`.","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2022-06-15T07:50:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/93829/cpython/issues/93829"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:963c8fe0-df02-97f0-81e4-78f0470fcada |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9548:AA16D:E15887:13B0120:696A3169 |
| html-safe-nonce | 11ba2fa7d9cfc454ab60b9d32866f5fc67898563742bf3fe1cd86aeb62ace2ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTQ4OkFBMTZEOkUxNTg4NzoxM0IwMTIwOjY5NkEzMTY5IiwidmlzaXRvcl9pZCI6IjE4Mzg5MTAzNjU5MTUwMTY3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fc87d084238766a3278ba172143817204cf1618c42f16458da66d11d45078e85 |
| hovercard-subject-tag | issue:1271816890 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/93829/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81361e41b80f0704adfffc43e18100fd106fe84320017917d46d53981cfafe7c/python/cpython/issues/93829 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81361e41b80f0704adfffc43e18100fd106fe84320017917d46d53981cfafe7c/python/cpython/issues/93829 |
| og:image:alt | cpython/Modules/_sqlite/microprotocols.c Lines 83 to 87 in 274769c /* look for an adapter in the registry */ key = Py_BuildValue("(OO)", (PyObject*)Py_TYPE(obj), proto); if (!key) { return NULL; } ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| 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 | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width