[Bug libstdc++/15002] Linewise stream input is unusably slow (std::string slow)

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 23 15:17:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-23 14:44 -------
Subject: Bug 15002

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	hammer-3_3-branch
Changes by:	paolo@gcc.gnu.org	2004-04-23 14:44:40

Modified files:
	libstdc++-v3   : ChangeLog.hammer 
	libstdc++-v3/include/bits: basic_string.tcc 

Log message:
	2004-04-23  Paolo Carlini  <pcarlini@suse.de>
	
	PR libstdc++/15002 (partial)
	* include/bits/basic_string.tcc (_M_replace_safe, replace(iterator,
	iterator, size_type, _CharT)): Special case __dnew/__n2 == 1, not
	calling _S_copy_chars/traits_type::assign.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.10&r2=1.1.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/basic_string.tcc.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.28.2.6&r2=1.28.2.7



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15002



More information about the Gcc-bugs mailing list