stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: 21.string.cons.cpp test fails on 64-bit MSVC (8.0 and 9.0)
Date Mon, 19 Nov 2007 18:33:57 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Monday, November 19, 2007 8:11 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: 21.string.cons.cpp test fails on 64-bit MSVC 
> (8.0 and 9.0)
> 
> >   Yes, I've tried it and after applying this patch the problem was 
> > resolved (actually invoking __rw_new_capacity(0)  was optimized to 
> > "return _RWSTD_MINIMUM_STRING_CAPACITY;").
> 
> Great. Now if you could figure out a way to optimize the 
> integer expression to avoid all the divisions... :)

  How about this one?
 
 
https://issues.apache.org/jira/secure/attachment/12369790/new_capacity.p
atch

Farid.

Mime
View raw message