[
https://issues.apache.org/jira/browse/SPARK-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239241#comment-14239241
]
Apache Spark commented on SPARK-4797:
-------------------------------------
User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/3643
> Replace breezeSquaredDistance
> -----------------------------
>
> Key: SPARK-4797
> URL: https://issues.apache.org/jira/browse/SPARK-4797
> Project: Spark
> Issue Type: Improvement
> Reporter: Liang-Chi Hsieh
> Priority: Minor
>
> This PR replaces slow breezeSquaredDistance. A simple calculation involving
> 40000 squared distances between the vectors of 20000 dims shows:
> * breezeSquaredDistance: ~12 secs
> * This PR: ~10.5 secs
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]