The program currently reads the index first, then processes & reads each record as it requires it while processing the data-file. I'm trying find a faster solution, i.e. performing larger sequential reads upfront. Of course, it may have extra considerations, such as an max. slurp size.
This exercise will be worth it (in my mind at least) if I can understand the margin by which
operations are faster than
<slurp 1 record><process><slurp next record><process> ...
Hope this makes sense.