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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
cout_insert_int.cc | Loading commit data... | |
filebuf_copy.cc | Loading commit data... | |
filebuf_sgetn_unbuf.cc | Loading commit data... | |
filebuf_sputc.cc | Loading commit data... | |
filebuf_sputn_unbuf.cc | Loading commit data... | |
fmtflags_manipulators.cc | Loading commit data... | |
fstream_seek_write.cc | Loading commit data... | |
ifstream_extract_float.cc | Loading commit data... | |
ifstream_extract_int.cc | Loading commit data... | |
ifstream_getline.cc | Loading commit data... | |
ofstream_insert_float.cc | Loading commit data... | |
ofstream_insert_int.cc | Loading commit data... | |
stringbuf_overflow.cc | Loading commit data... |