------- Comment #7 from pcarlini at suse dot de  2005-10-05 10:20 -------
PS: if you are going to experiment with _GLIBCXX_FULLY_DYNAMIC_STRING defined
by default, I would suggest also testing the performance impact of the
following:
change the default constructor to allocate memory on the heap not only for the
'\0', but also for a given small capacity > 0, say 15 chars. This would recover
in some cases the initial overhead by not freeing and allocating memory at the
first real usage.


-- 


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

Reply via email to