incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: 21.string.cons.cpp test fails on 64-bit MSVC (8.0 and 9.0)
Date Mon, 19 Nov 2007 18:11:22 GMT
Farid Zaripov wrote:
>> -----Original Message-----
>> From: Martin Sebor [mailto:sebor@roguewave.com] 
>> Sent: Monday, November 19, 2007 7:37 AM
>> To: stdcxx-dev@incubator.apache.org
>> Subject: Re: 21.string.cons.cpp test fails on 64-bit MSVC 
>> (8.0 and 9.0)
>>
>>
>> I'm not sure outlining the function is the most efficient way 
>> to handle it.
>> Have you tried Travis's integer patch for STDCXX-226? (My 
>> comment about the efficiency of the new formula notwithstanding.)
> 
>   It was my patch :)

Sorry for the mis-attribution! :)

> 
>   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... :)

Martin


Mime
View raw message