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

Jake Mannix commented on MAHOUT-1191:
-------------------------------------

Ok, so I'm trying to wrap my head around _how_ RASV could ever get nearly as 
fast as SASV for dot products (or vector sums, for that matter).  Is it because 
the load factor we use in OpenIntDoubleHashMap is 1.2, and so the overall 
number of nonzeroes is roughly the same as the size of the backing arrays, and 
the only slowdown OIDHM has over OrderedIntDoubleMapping is that the former 
needs to quickly check the states array to verify it's in state FULL?

Numbers don't lie, unless they come from microbenchmarks, in which case they 
tell... "selective truths" shall we say.
                
> Cleanup Vector Benchmarks make it less variable
> -----------------------------------------------
>
>                 Key: MAHOUT-1191
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1191
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Robin Anil
>            Assignee: Robin Anil
>         Attachments: MAHOUT-1191.patch
>
>


--
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