From 51e38ca793f2df484085d2cc1d032a18035489e4 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Wed, 20 Nov 2024 18:29:13 +0000 Subject: [PATCH] Increase SQLiteEnumerator page size to 65536 This performs better, and doesn't seem to be too large in practice --- .../DataStream/Primitives/SQL/SQLite/SQLiteEnumerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataStreamSuite/DataStream/Primitives/SQL/SQLite/SQLiteEnumerator.cs b/src/DataStreamSuite/DataStream/Primitives/SQL/SQLite/SQLiteEnumerator.cs index c876b861b..522f5c043 100644 --- a/src/DataStreamSuite/DataStream/Primitives/SQL/SQLite/SQLiteEnumerator.cs +++ b/src/DataStreamSuite/DataStream/Primitives/SQL/SQLite/SQLiteEnumerator.cs @@ -14,7 +14,7 @@ public class SQLiteEnumerable : IAsyncEnumerable { readonly string statement; readonly int pageSize; - public SQLiteEnumerable(string location, string statement, int pageSize = 1024) { + public SQLiteEnumerable(string location, string statement, int pageSize = 65536) { this.location = location; this.statement = statement; this.pageSize = pageSize;