diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-06-03 19:59:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 19:59:26 (GMT) |
commit | f461a7fc3f8740b9e79e8874175115a3474e5930 (patch) | |
tree | c3338f262e91aa6468ce5be059d473bf830a0274 /Misc/NEWS.d | |
parent | f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 (diff) | |
download | cpython-f461a7fc3f8740b9e79e8874175115a3474e5930.zip cpython-f461a7fc3f8740b9e79e8874175115a3474e5930.tar.gz cpython-f461a7fc3f8740b9e79e8874175115a3474e5930.tar.bz2 |
bpo-42862: Use functools.lru_cache iso. _sqlite.Cache in sqlite3 module (GH-24203)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-01-13-00-02-44.bpo-42862.Z6ACLN.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-01-13-00-02-44.bpo-42862.Z6ACLN.rst b/Misc/NEWS.d/next/Library/2021-01-13-00-02-44.bpo-42862.Z6ACLN.rst new file mode 100644 index 0000000..beda25f --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-01-13-00-02-44.bpo-42862.Z6ACLN.rst @@ -0,0 +1,4 @@ +:mod:`sqlite3` now utilizes :meth:`functools.lru_cache` to implement the +connection statement cache. As a small optimisation, the default +statement cache size has been increased from 100 to 128. +Patch by Erlend E. Aasland. |