Uh oh!
There was an error while loading. Please reload this page.
bpo-42064: Optimise sqlite3 state access, part 1 - #27273
Conversation
encukou
commented
Jul 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).
|
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
commented
Jul 27, 2021
PTAL! |
encukou
commented
Jul 29, 2021
Looks good, I just did a trivial merge to resolve a conflict. |
miss-islington
commented
Jul 29, 2021
@erlend-aasland: Status check is done, and it's a success ✅ . |
erlend-aasland
commented
Jul 29, 2021
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