[Fwd: basic_string<> - useless because of its poor performance]

Nathan Myers ncm@nospam.cantrip.org
Mon Jul 9 18:13:00 GMT 2001


On Mon, Jul 09, 2001 at 05:21:45PM -0500, Loren James Rittle wrote:
> 
> In any event, we now know that we must continue to round up capacity
> to a power of 2 in order to meet the standard (from multiple sources).
> And someone (maybe you ;-) posted a better way to hook in.

I hate to quibble (actually I love it, but I hate to seem to love it)
but the standard doesn't require sizes to be a power of two, but rather
to double each time from some basis.  This means that (2^N - M) (where
M might be 16) or (L * 2^N) (where L might be 60) is OK.  Maybe that's 
what the following refers to...
 
> Anyone that finalizes the patch to go in should consider the points I
> think I got right (which followed the exchange with Ulrich on
> implementation header padding).  

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list