gcc/libstdc++-v3/include
Paolo Carlini 9a1349b920 re PR libstdc++/11723 (ctype<wchar_t>::do_is(mask, wchar_t) is slow)
2003-12-16  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/11723
	* include/bits/locale_facets.h: Add _M_bit and _M_wmask,
	used to speed up the computation of ctype::do_is.
	* config/locale/generic/ctype_members.cc
	(_M_initialize_ctype): Fill _M_bit and _M_wmask.
	(ctype::do_is): Use _M_bit and _M_wmask.
	* config/locale/gnu/ctype_members.cc: Likewise.
	* testsuite/performance/is_wchar_t.cc: New.

	* testsuite/performance/narrow_widen_wchar_t.cc: Tweak
	string literal (incorrect citation ;)

	* include/bits/locale_facets.h: Minor tweaks, const
	correctness, unsigned -> size_t.

From-SVN: r74686
2003-12-16 11:00:52 +00:00
..
backward algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
bits re PR libstdc++/11723 (ctype<wchar_t>::do_is(mask, wchar_t) is slow) 2003-12-16 11:00:52 +00:00
c std_cctype.h, [...]: Remove trailing whitespace. 2003-12-09 04:41:52 +01:00
c_compatibility iso646.h, [...]: Remove trailing whitespace. 2003-12-09 04:51:46 +01:00
c_std cmath.tcc, [...]: Remove trailing whitespace. 2003-12-09 04:44:35 +01:00
debug bitset, [...]: Remove trailing whitespace. 2003-12-09 05:26:28 +01:00
ext algorithm, [...]: Remove trailing whitespace. 2003-12-09 05:31:53 +01:00
std re PR libstdc++/12653 (Resolution of DR 303 (WP) still unimplemented) 2003-12-04 09:45:29 +00:00
Makefile.am re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2003-12-15 21:08:03 +00:00
Makefile.in re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2003-12-15 21:08:03 +00:00
stdc++.h stdc++.h: New. 2003-03-14 22:16:06 +00:00