gcc/libstdc++-v3 ChangeLog config/locale/gnu/c ...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Tue Nov 25 21:41:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	paolo@gcc.gnu.org	2003-11-25 21:41:28

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/config/locale/gnu: codecvt_members.cc 
Added files:
	libstdc++-v3/testsuite/performance: wchar_t_length.cc 

Log message:
	2003-11-25  Paolo Carlini  <pcarlini@suse.de>
	
	* config/locale/gnu/codecvt_members.cc (codecvt::do_length):
	Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
	former is very fast, but stops if encounters a NUL.
	(codecvt::do_out): Tweaks.
	(codecvt::do_in): Tweaks, improve the code dealing with errors.
	* testsuite/performance/wchar_t_length.cc: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2107&r2=1.2108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/locale/gnu/codecvt_members.cc.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/performance/wchar_t_length.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-cvs mailing list