This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]