alashworth / test-issue-import

0 stars 0 forks source link

buffering CSV output #55

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by bob-carpenter Wednesday Feb 04, 2015 at 20:05 GMT Originally opened as https://github.com/stan-dev/stan/issues/1264


The output now is probably being flushed on a line-by-line basis through << std::endl.

It'd be nice to have a version that buffers the output (either automatically or optionally). It may provide a significant speedup for users working over a network file system (as in a cluster) or a spinny disks instead of solid state.