You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Jake Mannix (JIRA)" <ji...@apache.org> on 2013/04/22 19:27:16 UTC

[jira] [Commented] (MAHOUT-1160) Add performant iterators to primitive collections

    [ https://issues.apache.org/jira/browse/MAHOUT-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638193#comment-13638193 ] 

Jake Mannix commented on MAHOUT-1160:
-------------------------------------

Yeah, looks like this is closeable, thanks Robin!
                
> 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
>    Affects Versions: 0.8
>            Reporter: Jake Mannix
>            Assignee: Jake Mannix
>             Fix For: 0.8
>
>         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