diff options
author | Paolo Carlini <paolo@gcc.gnu.org> | 2004-09-13 22:21:34 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2004-09-13 22:21:34 +0000 |
commit | c56e3d82fc9090d1580ca8dc02a6add848629d0c (patch) | |
tree | 8997f3bc677ca038f84fb3bcc2ce4cfd4abbc203 /gcc/tree-dfa.c | |
parent | 90c609e51aab3794230d1eae447a9dac825d6a57 (diff) | |
download | gcc-c56e3d82fc9090d1580ca8dc02a6add848629d0c.zip gcc-c56e3d82fc9090d1580ca8dc02a6add848629d0c.tar.gz gcc-c56e3d82fc9090d1580ca8dc02a6add848629d0c.tar.bz2 |
re PR libstdc++/11722 ([3.4 only] Unbuffered filebuf::sgetn is slow)
2004-09-13 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/11722
* include/std/std_fstream.h (xsgetn): Declare only.
* include/bits/fstream.tcc (xsgetn): Define, optimize for the
always_noconv() case: when __n > __buflen, copy the available
buffer and issue a direct read.
* testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New.
* include/bits/fstream.tcc (xsputn): Minor tweak, reorder a
conditional.
From-SVN: r87453
Diffstat (limited to 'gcc/tree-dfa.c')
0 files changed, 0 insertions, 0 deletions