Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e987a58

Browse files
committed
Set page size to 4096
This is the default value since 2016 and is generally recommended for performance: https://sqlite.org/pgszchng2016.html Older versions are probably still in use on e.g. Ubuntu 14.04 LTS systems, and on these systems this is likely a minor performance improvement.
1 parent 71bb472 commit e987a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/dviread.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ def _migrate(self, version):
10931093
if version == 1:
10941094
conn.executescript(
10951095
"""
1096+
PRAGMA page_size=4096;
10961097
CREATE TABLE file_path(
10971098
filename TEXT PRIMARY KEY NOT NULL,
10981099
pathname TEXT

0 commit comments

Comments
 (0)