From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6591 invoked by alias); 13 Dec 2006 18:09:10 -0000 Received: (qmail 6564 invoked by uid 48); 13 Dec 2006 18:08:56 -0000 Date: Wed, 13 Dec 2006 18:09:00 -0000 Message-ID: <20061213180856.6563.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/30204] std::vector operator[] 10x speedup (patch) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "chris at bubblescope dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg01199.txt.bz2 ------- Comment #1 from chris at bubblescope dot net 2006-12-13 18:08 ------- -O1 is enough to remove all advantages of this patch. Also, that isn't really a fair timing comparison, as you've removed the function call altogether (I still expect it to be faster, but possibly not by 10x) -- chris at bubblescope dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris at bubblescope dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30204