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
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
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
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
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