Speed up sqlite3.Row
Open
extension-modules
performance
topic-sqlite3
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Feature or enhancement
Proposal:
We can speed up sqlite.Row subscripting a bit:
- in
pysqlite_row_subscript, after finding the correct index, use fast tuple API to access data - in
equal_ignore_case, we can simply assert that we are given two unicode objects
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
- gh-129927
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.