mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAHOUT-139) Make use of Vector Iterator capabilities where appropriate
Date Wed, 24 Jun 2009 04:52:07 GMT
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.


Mime
View raw message