This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/45574] cin.getline() is extremely slow
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2010 16:08:24 -0000
- Subject: [Bug libstdc++/45574] cin.getline() is extremely slow
- References: <bug-45574-19663@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #22 from paolo dot carlini at oracle dot com 2010-09-09 16:08 -------
Jakub, when, by default, cin & co boil down to stdio_sync_filebuf, the
underlying basic_streambuf is unbuffered, everything is unbuffered in the C++
library.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45574