]> https://gitweb.dealii.org/ - dealii.git/commit
Avoid using std::endl over '\n'. 9561/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 24 Feb 2020 21:59:08 +0000 (14:59 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 24 Feb 2020 21:59:08 +0000 (14:59 -0700)
commitfac48bdb175f773322318a9bf15551706717582f
tree59c9ee96fbd734a8431c6a8db0c4b78a22c03dab
parent3ff8e288d2e34b238a2d14a2231baaa0ad3d092d
Avoid using std::endl over '\n'.

std::endl writes an endline character into the stream, but then follows
that up with a flush(). That's expensive on remote-mounted file systems,
and most unnecessary as well -- we should really just write the endline
character and put a flush() at the very end of the operation.
source/base/table_handler.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.