gcc/libstdc++-v3/config/locale/generic
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
..
c_locale.cc c_locale.cc (__convert_to_v(long&), [...]): Remove. 2003-12-08 15:37:03 +00:00
c_locale.h ctype_members.cc (ctype<wchar_t>::do_is): Fix. 2003-09-25 16:37:24 +00:00
c++locale_internal.h c++locale_internal.h: New header. 2002-09-05 09:46:17 +02:00
codecvt_members.cc codecvt_members.cc (do_out): If we can upper bound the total number of external chars to something smaller... 2003-11-19 11:38:40 +00:00
codecvt_specializations.h c_locale_generic.cc: Move to... 2002-03-09 02:16:36 +00:00
collate_members.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
ctype_members.cc re PR libstdc++/11723 (ctype<wchar_t>::do_is(mask, wchar_t) is slow) 2003-12-16 11:00:52 +00:00
messages_members.cc Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
messages_members.h locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
monetary_members.cc linker-map.gnu: Add __moneypunct_cache, __timepunct_cache. 2003-07-18 02:27:16 +00:00
numeric_members.cc numeric_members.cc: Correct type info. 2003-07-08 20:25:39 +00:00
time_members.cc linker-map.gnu: Add __moneypunct_cache, __timepunct_cache. 2003-07-18 02:27:16 +00:00
time_members.h locale_classes.h (locale::facet::_S_get_c_name): Add. 2003-10-02 23:06:13 +00:00