[RFC] string: exponential growth inside _S_create?!?

Loren James Rittle rittle@latour.rsch.comm.mot.com
Tue Jan 27 23:58:00 GMT 2004


In article <40168AD9.107@suse.de>, Paolo Carlini<pcarlini@suse.de> writes:

> Currently, the exponential growth policy mandated by the standard is [...]
> So... Shall I try to implement it *inside* _S_create?

> It seems to me that, in case of success, this would allow a major
> clean-up, better incapsulation, better performance (?) for the constructor
> from input iterators.

> What do you think?

You have my vote on this change (I also looked at your patch).  I
agree we had a hole in the growth policy.

Regards,
Loren



More information about the Libstdc++ mailing list