Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 69897 invoked from network); 12 Dec 2007 06:56:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2007 06:56:12 -0000 Received: (qmail 30269 invoked by uid 500); 12 Dec 2007 06:56:00 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 30258 invoked by uid 500); 12 Dec 2007 06:56:00 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 30247 invoked by uid 99); 12 Dec 2007 06:56:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 22:56:00 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2007 06:56:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J2LVM-0004sq-S9 for stdcxx-dev@incubator.apache.org; Tue, 11 Dec 2007 22:55:40 -0800 Message-ID: <14289932.post@talk.nabble.com> Date: Tue, 11 Dec 2007 22:55:40 -0800 (PST) From: Martin Sebor To: stdcxx-dev@incubator.apache.org Subject: RE: 21.string.cons.cpp test fails on 64-bit MSVC (8.0 and 9.0) In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE6438013EC5A0@epmsa009.minsk.epam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sebor@roguewave.com References: <7BDB2168BEAEF14C98F1901FD2DE64380134ED4A@epmsa009.minsk.epam.com> <13828136.post@talk.nabble.com> <7BDB2168BEAEF14C98F1901FD2DE6438013EC4FF@epmsa009.minsk.epam.com> <4741D1CA.6000408@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE6438013EC5A0@epmsa009.minsk.epam.com> X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov-2 wrote: > >> -----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. > > 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.