Farid Zaripov wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] 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

Reply via email to