[
https://issues.apache.org/jira/browse/MAHOUT-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600215#comment-13600215
]
Jake Mannix commented on MAHOUT-1160:
-------------------------------------
RB: https://reviews.apache.org/r/9867/
> 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
> Attachments: MAHOUT-1160.diff
>
>
> 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