I
Ian Collins
Öö Tiib said:Is iostream slow? Here is test that I have observed that on some platforms C++
I/O performs 20% faster than C I/O and on others 50% slower. In general
neither should be used for truely performance-critical I/O.
It really does come down the the C++ library used. On Solaris with the
native compiler's default library, the C version takes half the time.
With stlport or using g++, the C++ version is about 25-30% faster.