Update iterate_many.md for clarity on JSON processing

Clarified the example JSON format and emphasized the need for efficient processing.
This commit is contained in:
Daniel Lemire
2025-11-10 13:49:13 -05:00
committed by GitHub
parent 21342a4142
commit 16e99f229b
+2 -2
View File
@@ -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);
}
```
```