[Bug libstdc++/11378] New: Unbuffered sputn is slow
peturr02 at ru dot is
gcc-bugzilla@gcc.gnu.org
Mon Jun 30 10:48:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11378
Summary: Unbuffered sputn is slow
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peturr02 at ru dot is
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
basic_filebuf::sputn is much slower than fwrite for unbuffered output. It seems
that sputn calls write once for each character, but fwrite calls write only once.
More information about the Gcc-bugs
mailing list