[
https://issues.apache.org/jira/browse/MAHOUT-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588174#action_12588174
]
Karl Wettin commented on MAHOUT-34:
-----------------------------------
I'm also thinking we should perhaps re-use the Element instance in
iterator.next? Iterator a matrix of 5000 instance with 40000 features each
would be instantiating 200,000,000 Elements. I'm sure the JVM pools that, but
we can always help it.
I thinks it's OK if it is a documented caveat.
> Iterator interface for Vectors
> ------------------------------
>
> Key: MAHOUT-34
> URL: https://issues.apache.org/jira/browse/MAHOUT-34
> Project: Mahout
> Issue Type: New Feature
> Reporter: Samee Zahur
> Assignee: Karl Wettin
> Attachments: VectorIterator.3.patch.bz2,
> VectorIterator.patch.2.tar.bz2, VectorIterator.patch.tar.bz2
>
>
> Implemented an Iterator interface for the Vector classes. Was necessary for
> porting from Float[] used in some parts of the code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.