[
https://issues.apache.org/jira/browse/MAHOUT-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Dunning resolved MAHOUT-497.
--------------------------------
Fix Version/s: 0.4
Resolution: Fixed
Committed a pretty simple fix.
> Matrix get/set causes allocation (?!)
> -------------------------------------
>
> Key: MAHOUT-497
> URL: https://issues.apache.org/jira/browse/MAHOUT-497
> Project: Mahout
> Issue Type: Bug
> Reporter: Ted Dunning
> Fix For: 0.4
>
>
> Matrix get and set check the array bounds. But checking the array bounds
> calls size. But size allocates a small integer
> array.
> This is evil and KILLs performance.
> The first fix is to avoid this in SGD based classifiers. Second will be a
> real change to the matrix routines to avoid the allocation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.