-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-42064: Optimise sqlite3
state access, part 1
#27273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-42064: Optimise sqlite3
state access, part 1
#27273
Conversation
Have you thought about caching the state on Connection objects? That way you could get the state from a cursor by following two pointers. (And similarly for other cases where you have a Connection, which is most of pysqlite).
|
Yes, I have though about it, but I don't remember why I didn't follow that idea :) As you say, it's probably a very good trade-off. I'll have a go at it.
|
PTAL! |
Looks good, I just did a trivial merge to resolve a conflict. |
@erlend-aasland: Status check is done, and it's a success ✅ . |
Great, thanks and thank you for reviewing. |
Sync with main bco. pythonGH-27273
Sync with main bco. pythonGH-27273
Prepare for module state:
https://bugs.python.org/issue42064
Automerge-Triggered-By: GH:encukou