Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
bpo-42064: Optimisesqlite3 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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
bpo-42064: Optimisesqlite3 state access, part 1#27273
Uh oh!
There was an error while loading.Please reload this page.
Conversation
encukou commentedJul 27, 2021
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).
|
erlend-aasland commentedJul 27, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
|
erlend-aasland commentedJul 27, 2021
PTAL! |
encukou commentedJul 29, 2021
Looks good, I just did a trivial merge to resolve a conflict. |
miss-islington commentedJul 29, 2021
@erlend-aasland: Status check is done, and it's a success ✅ . |
erlend-aasland commentedJul 29, 2021
Great, thanks and thank you for reviewing. |
Sync with main bco.pythonGH-27273
Sync with main bco.pythonGH-27273
Uh oh!
There was an error while loading.Please reload this page.
Prepare for module state:
https://bugs.python.org/issue42064
Automerge-Triggered-By: GH:encukou