This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/28765] __gnu_cxx::__vstring::clear() is slow
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2006 15:42:38 -0000
- Subject: [Bug libstdc++/28765] __gnu_cxx::__vstring::clear() is slow
- References: <bug-28765-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paolo at gcc dot gnu dot org 2006-08-18 15:42 -------
Subject: Bug 28765
Author: paolo
Date: Fri Aug 18 15:42:27 2006
New Revision: 116241
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116241
Log:
2006-08-18 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28765
* include/ext/rc_string_base.h (_M_clear): New.
* include/ext/sso_string_base.h (_M_clear): Likewise.
* include/ext/vstring.h (clear): Use it.
Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/include/ext/rc_string_base.h
branches/gcc-4_1-branch/libstdc++-v3/include/ext/sso_string_base.h
branches/gcc-4_1-branch/libstdc++-v3/include/ext/vstring.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28765