Currently, I create empty arrays in a first pass over the file, which I then populate in a second pass. I haven't really benchmarked anything, but it might very well be the case that one pass is not slower. If that is true, the code could be simplified significantly.
Currently, I create empty arrays in a first pass over the file, which I then populate in a second pass. I haven't really benchmarked anything, but it might very well be the case that one pass is not slower. If that is true, the code could be simplified significantly.