codefire/nfcollector — comment on commit d727382dae1ce89462fdb1d635ca237d84da14f2
File: lib/nfcollector/copy_file_writer.rb line 41
By seangeo:

The API for this class is odd. It seems to be used in the PayloadProcessor to keep adding rows and then when you hit a row for another date it calls the write method. This is odd because it doesn't behave like a writer, where you expect to call write to output a chunk, not add_row, and it also means that we keep the entire file in memory until write is called.

See PayloadProcessor for more comments on this.