------- Comment #11 from pinskia at gcc dot gnu dot org  2005-12-31 05:46 
-------
Hmm, can you try the following C++ program and see if it works for you:
#include <sstream>

int main(void)
{
  for(int j=0;j<1000;j++){
  std::ostringstream a;
  char *a1 = "aaaaaaaaaaaaaaaaaaaaaaaaaa";
  for(int i =0;i<strlen(a1);i++)
  a << *a1;
  a.str();
}
}

This is emulating what format does in gcjx except multiple times over.  I tried
it on my machine which has a pre SVN 4.1 and it worked there.

The only really big thing which I keep on reading in the libstdc++ source which
is a performance issue rather than anything else is that the locale on the
ios_base can be set a couple of times.


-- 


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


Reply via email to