From 16e99f229bdf6062ea5f294940f89fe8884be260 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Mon, 10 Nov 2025 13:49:13 -0500 Subject: [PATCH] Update iterate_many.md for clarity on JSON processing Clarified the example JSON format and emphasized the need for efficient processing. --- doc/iterate_many.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/iterate_many.md b/doc/iterate_many.md index 53b0f9cde..77e9553fe 100644 --- a/doc/iterate_many.md +++ b/doc/iterate_many.md @@ -8,7 +8,7 @@ library provides high-speed access to files or streams containing multiple small {"text":"a"} {"text":"b"} {"text":"c"} -... +"..." ``` ... you want to read the entries (individual JSON documents) as quickly and as conveniently as possible. Importantly, the input might span several gigabytes, but you want to use a small (fixed) amount of memory. Ideally, you'd also like the parallelize the processing (using more than one core) to speed up the process. @@ -403,4 +403,4 @@ Otherwise you may use this longer version for explicit handling of errors: } cars.push_back(c); } -``` \ No newline at end of file +```