Jake Mannix created MAHOUT-1160:
-----------------------------------

             Summary: Add performant iterators to primitive collections
                 Key: MAHOUT-1160
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1160
             Project: Mahout
          Issue Type: Improvement
          Components: collections
            Reporter: Jake Mannix
            Assignee: Jake Mannix


Iterating on RandomAccessSparseVector currently requires dumping all keys from 
the underlying OpenIntDoubleHashMap into a separate IntArrayList, then 
iterating over that and accessing the values.

We should just make sure that OpenIntDoubleHashMap properly does iteration 
(instead of just allowing iteration callbacks a la forEachPair/forEachKey).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to