This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [sqlite3] optimise user-defined functions
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: erlendaasland Nosy List: corona10, erlendaasland
Priority: normal Keywords: patch

Created on 2022-02-27 13:40 by erlendaasland, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 31604 merged erlendaasland, 2022-02-27 13:51
Messages (2)
msg414151 - (view) Author: Erlend E. Aasland (erlendaasland) * (Python triager) Date: 2022-02-27 13:40
Currently, the `step` method of user-defined functions is looked up using `PyObject_GetAttrString`. Using an interned string and `PyObject_GetAttr`, we can speed up this a little bit.
msg414440 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2022-03-03 13:54
New changeset 88567a997005c9388137cd18c5d7f4483423dac3 by Erlend Egeberg Aasland in branch 'main':
bpo-46874: Speed up sqlite3 user-defined aggregate 'step' method (GH-31604)
https://github.com/python/cpython/commit/88567a997005c9388137cd18c5d7f4483423dac3
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 91030
2022-03-03 13:56:27erlendaaslandsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-03-03 13:54:44corona10setnosy: + corona10
messages: + msg414440
2022-02-27 13:51:58erlendaaslandsetkeywords: + patch
stage: patch review
pull_requests: + pull_request29727
2022-02-27 13:40:19erlendaaslandsetassignee: erlendaasland
2022-02-27 13:40:10erlendaaslandcreate