title: Is continually writing to a file detrimental to the performance of a program?
body: <p>Imagine a parallel "high performance program" that reads in files, each process performs a task on the input data and then each process writes an output for the task to a single shared output file before repeating this procedure.</p>
  
  <p>In terms of performance, is it inefficient to write the outputs to a file as each process finishes a task?</p>
  
  <p>Would it be more efficient to store the results in an array and write the array to an output file at the end?</p>