commit 76ad8a9dd032763b70c2756f04097c2cbf17eb5f
parent 59bd5c084a7aec42c4c2b3d64016c2e797d8988d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 12 Jan 2026 16:44:53 +0100
Update the chunk size to 64 KB
This provides a good balance between speed and performance on CO2.
Further tests with other species will need to be carried out to validate
this size.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shtr_line_list_c.h b/src/shtr_line_list_c.h
@@ -73,7 +73,7 @@
#define BLOCK_SIZE (1024*1024)
/* Size in bytes of an uncompressed chunk */
-#define CHUNK_SIZE (128*1024)
+#define CHUNK_SIZE (64*1024)
/* Number of lines in a chunk */
#define NLINES_PER_CHUNK (CHUNK_SIZE/sizeof(struct line))