gcc/libstdc++-v3/include/bits
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
..
allocator.h
atomicity.h
basic_ios.h
basic_ios.tcc basic_ios.tcc (basic_ios<>::copyfmt): Don't deal with _M_word != _M_local_word two times, redundantly. 2004-08-21 08:54:07 +00:00
basic_string.h re PR c++/16169 (-Weffc++ item 15 improvements) 2004-07-08 15:56:21 +00:00
basic_string.tcc
boost_concept_check.h
c++config Daily bump. 2004-09-13 00:16:13 +00:00
char_traits.h char_traits.h (struct _Char_traits_match): Remove, unused. 2004-08-21 14:40:53 +00:00
codecvt.h
concept_check.h
concurrence.h abi.html: Remove non-public qualification. 2004-07-12 23:40:49 +00:00
cpp_type_traits.h type_traits.h (_Is_normal_iterator): Move... 2004-07-02 14:49:09 +00:00
deque.tcc 2832.cc: Remove junk. 2004-08-15 23:08:58 +00:00
fstream.tcc re PR libstdc++/11722 ([3.4 only] Unbuffered filebuf::sgetn is slow) 2004-09-13 22:21:34 +00:00
functexcept.h
gslice_array.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
gslice.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
indirect_array.h indirect_array.h: Trivial formatting fixes. 2004-08-16 14:50:31 +00:00
ios_base.h PR libstdc++/7219 (continued) 2004-08-20 21:14:56 +00:00
istream.tcc re PR libstdc++/16715 (std::basic_iostream is instantiated when used, even though instantiations are already contained in libstdc++) 2004-09-02 18:58:34 +00:00
list.tcc list.tcc: Trivial formatting fixes. 2004-08-03 10:11:31 +00:00
locale_classes.h
locale_facets.h PR libstdc++/17038 (partial) 2004-08-25 23:38:29 +00:00
locale_facets.tcc locale_facets.tcc (time_get<>::_M_extract_via_format, case 'S'): Allow for at least one leap-second (as per C99... 2004-08-29 09:04:33 +00:00
localefwd.h
mask_array.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
ostream.tcc
postypes.h
slice_array.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
sstream.tcc re PR libstdc++/16956 ([3.4 only] std::stringbuf::seekoff return wrong position value) 2004-08-12 22:26:32 +00:00
stl_algo.h
stl_algobase.h basic_string.h: Trivial formatting fixes and/or const-ification of some variables. 2004-07-04 17:57:58 +00:00
stl_bvector.h stl_bvector.h: Trivial formatting fixes. 2004-08-09 13:51:33 +00:00
stl_construct.h stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
stl_deque.h stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
stl_function.h
stl_heap.h
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_iterator.h
stl_list.h re PR libstdc++/16844 (Explicit instantiation failing) 2004-08-02 04:40:19 +00:00
stl_map.h
stl_multimap.h
stl_multiset.h
stl_numeric.h
stl_pair.h basic_string.h: Trivial formatting fixes and/or const-ification of some variables. 2004-07-04 17:57:58 +00:00
stl_queue.h
stl_raw_storage_iter.h
stl_relops.h
stl_set.h
stl_stack.h
stl_tempbuf.h
stl_tree.h stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
stl_uninitialized.h stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
stl_vector.h stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00
stream_iterator.h
streambuf_iterator.h
streambuf.tcc
stringfwd.h
type_traits.h type_traits.h (_Is_normal_iterator): Move... 2004-07-02 14:49:09 +00:00
valarray_after.h indirect_array.h: Trivial formatting fixes. 2004-08-16 14:50:31 +00:00
valarray_array.h indirect_array.h: Trivial formatting fixes. 2004-08-16 14:50:31 +00:00
valarray_array.tcc
valarray_before.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
vector.tcc stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument. 2004-07-28 16:37:20 +00:00