Return-Path: Delivered-To: apmail-lucene-mahout-dev-archive@minotaur.apache.org Received: (qmail 85491 invoked from network); 24 Jun 2009 04:52:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jun 2009 04:52:19 -0000 Received: (qmail 83578 invoked by uid 500); 24 Jun 2009 04:52:30 -0000 Delivered-To: apmail-lucene-mahout-dev-archive@lucene.apache.org Received: (qmail 83489 invoked by uid 500); 24 Jun 2009 04:52:29 -0000 Mailing-List: contact mahout-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-dev@lucene.apache.org Delivered-To: mailing list mahout-dev@lucene.apache.org Received: (qmail 83477 invoked by uid 99); 24 Jun 2009 04:52:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 04:52:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 04:52:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6BA27234C04B for ; Tue, 23 Jun 2009 21:52:07 -0700 (PDT) Message-ID: <130565497.1245819127439.JavaMail.jira@brutus> Date: Tue, 23 Jun 2009 21:52:07 -0700 (PDT) From: "Grant Ingersoll (JIRA)" To: mahout-dev@lucene.apache.org Subject: [jira] Created: (MAHOUT-139) Make use of Vector Iterator capabilities where appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Make use of Vector Iterator capabilities where appropriate ---------------------------------------------------------- Key: MAHOUT-139 URL: https://issues.apache.org/jira/browse/MAHOUT-139 Project: Mahout Issue Type: Improvement Affects Versions: 0.2 Reporter: Grant Ingersoll Assignee: Grant Ingersoll Fix For: 0.2 There are a bunch of places where we loop over the size of the vector when we should be taking advantage of the sparseness, or at least be agnostic about it and use an iterator. This patch addresses these issues in the Vector implementations and in the DistanceMeasure implementations Also adds iterateNonZero() and interateAll and drops the Iterable portion of Vector since it wasn't clear what it was iterating -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.