[PATCH] for string::append(const_pointer)

2007-07-22 Thread mark.g.brown
Hi, I have been working on a fix for STDCXX-493. The attached patch tries to improve both the const_pointer and string overloads but makes no attempt to do anything with the value_type overload. I was successful in making the const_pointer overload run faster (about 6 times faster than in the sub

[jira] Created: (STDCXX-493) std::string::append() slow

2007-07-22 Thread Mark Brown (JIRA)
std::string::append() slow -- Key: STDCXX-493 URL: https://issues.apache.org/jira/browse/STDCXX-493 Project: C++ Standard Library Issue Type: Bug Components: 21. Strings Affects Versions: 4.1.3

[PATCH] for STDCXX-491 - string::push_back() slow

2007-07-22 Thread mark.g.brown
Hi all, The attached simple patch speeds up push_back() nearly six times relative to stdcxx 4.1.3 and makes it more than twice faster that gcc's. $ time ./push_back-stdcxx-patched 5 real0m2.800s user0m1.676s sys 0m1.084s $ time ./push_back-stdcxx-4.1.3 5 real0m

[jira] Created: (STDCXX-492) std::string::operator+=() slow

2007-07-22 Thread Mark Brown (JIRA)
std::string::operator+=() slow -- Key: STDCXX-492 URL: https://issues.apache.org/jira/browse/STDCXX-492 Project: C++ Standard Library Issue Type: Bug Components: 21. Strings Affects Versions: 4.1.3

[jira] Created: (STDCXX-491) string::push_back() slow

2007-07-22 Thread Mark Brown (JIRA)
string::push_back() slow Key: STDCXX-491 URL: https://issues.apache.org/jira/browse/STDCXX-491 Project: C++ Standard Library Issue Type: Bug Components: 21. Strings Affects Versions: 4.1.3 Envi