gcc/libstdc++-v3/testsuite/performance
Paolo Carlini c56e3d82fc 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
2004-09-13 22:21:34 +00:00
..
20_util/allocator insert.cc: For std::map instantiate the allocator for a correct pair type. 2004-08-19 20:22:45 +00:00
21_strings [multiple changes] 2004-06-12 08:10:24 +00:00
22_locale Reshuffle performance testsuite. 2004-01-30 17:06:42 +00:00
23_containers Reshuffle performance testsuite. 2004-01-30 17:06:42 +00:00
26_numerics Reshuffle performance testsuite. 2004-01-30 17:06:42 +00:00
27_io re PR libstdc++/11722 ([3.4 only] Unbuffered filebuf::sgetn is slow) 2004-09-13 22:21:34 +00:00