Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BF3B10FF4 for ; Tue, 10 Sep 2013 05:14:06 +0000 (UTC) Received: (qmail 34998 invoked by uid 500); 10 Sep 2013 05:14:05 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 34803 invoked by uid 500); 10 Sep 2013 05:14:04 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 34795 invoked by uid 99); 10 Sep 2013 05:14:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 05:14:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [203.59.1.218] (HELO icp-osb-irony-out2.external.iinet.net.au) (203.59.1.218) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 05:13:57 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAL6pLlJ8lXAz/2dsb2JhbAANTsgBg1pnuRuTD4JbjR2DB4EAA55Mjkc X-IronPort-AV: E=Sophos;i="4.90,876,1371052800"; d="scan'208";a="143544035" Received: from unknown (HELO [192.168.0.8]) ([124.149.112.51]) by icp-osb-irony-out2.iinet.net.au with ESMTP; 10 Sep 2013 13:13:10 +0800 From: Justin Mclean Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: ADG and cellIndex.toString() Date: Tue, 10 Sep 2013 15:13:01 +1000 Message-Id: <7DF5ACA8-8CFC-4388-98C0-AECB9E21E160@classsoftware.com> To: dev@flex.apache.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org Hi, Was looking into the cell selection code and noticed that the ADG has = this throughout: cellSelectionData[uid][columnIndex.toString()] Is there any sane reason for not having the column index as just = columnIndex (ie a plain int)? Int index lookup is faster than string = index look up right? Out of curiousosity I removed all of the the toStrings and the ADG = mustella test pass and not surprisingly it's a little faster. Is there something obvious I'm overlooking? Thanks, Justin=