Farid Zaripov-2 wrote: > >> -----Original Message----- >> From: Martin Sebor [mailto:[EMAIL PROTECTED] >> 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. > >
Sorry it's taken me so long to get back to this thread. I spent some time today looking at the patch and added my comments to the issue: https://issues.apache.org/jira/browse/STDCXX-226#action_12550775 Martin -- View this message in context: http://www.nabble.com/21.string.cons.cpp-test-fails-on-64-bit-MSVC-%288.0-and-9.0%29-tp13728936p14289932.html Sent from the stdcxx-dev mailing list archive at Nabble.com.